[Libreoffice-commits] core.git: include/tools

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 19 16:11:18 UTC 2021


 include/tools/gen.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6f4e2a71dacf4527abcc71f70e988400b146e9df
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 19 16:53:34 2021 +0200
Commit:     Andrea Gelmini <andrea.gelmini at gelma.net>
CommitDate: Thu Aug 19 18:10:42 2021 +0200

    Fix typo
    
    Change-Id: I225688ee50b87c5019f83060ec8bbf614df6174f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120744
    Tested-by: Jenkins
    Reviewed-by: Andrea Gelmini <andrea.gelmini at gelma.net>

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())


More information about the Libreoffice-commits mailing list