diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/gen.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index e68b850b78cb..63d03b9f788e 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -725,7 +725,7 @@ constexpr tools::Rectangle convert(const tools::Rectangle& rRectangle, o3tl::Len // 1. Create an empty rectangle with correct left and top tools::Rectangle aRect(o3tl::convert(rRectangle.Left(), eFrom, eTo), o3tl::convert(rRectangle.Top(), eFrom, eTo)); - // 2. If source has width/heigth, set respective right and bottom + // 2. If source has width/height, set respective right and bottom if (!rRectangle.IsWidthEmpty()) aRect.SetRight(o3tl::convert(rRectangle.Right(), eFrom, eTo)); if (!rRectangle.IsHeightEmpty()) |