fix: don't indent inner namespaces (#6235)
This commit is contained in:
@@ -26,21 +26,21 @@ using namespace literals;
|
||||
|
||||
namespace {
|
||||
|
||||
// Computes the bounding box for the given vector of images
|
||||
QSizeF getBoundingBoxSize(const std::vector<ImagePtr> &images)
|
||||
// Computes the bounding box for the given vector of images
|
||||
QSizeF getBoundingBoxSize(const std::vector<ImagePtr> &images)
|
||||
{
|
||||
qreal width = 0;
|
||||
qreal height = 0;
|
||||
for (const auto &img : images)
|
||||
{
|
||||
qreal width = 0;
|
||||
qreal height = 0;
|
||||
for (const auto &img : images)
|
||||
{
|
||||
QSizeF s = img->size();
|
||||
width = std::max(width, s.width());
|
||||
height = std::max(height, s.height());
|
||||
}
|
||||
|
||||
return {width, height};
|
||||
QSizeF s = img->size();
|
||||
width = std::max(width, s.width());
|
||||
height = std::max(height, s.height());
|
||||
}
|
||||
|
||||
return {width, height};
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
MessageElement::MessageElement(MessageElementFlags flags)
|
||||
|
||||
Reference in New Issue
Block a user