svx/source/dialog/svxruler.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e4c7126354c4d96f20e87c0d72b631ed99c6c2be
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Fri Aug 23 21:52:20 2019 +0900
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Fri Aug 23 21:49:46 2019 +0200

    Fix commented out debug code in ruler so it compiles
    
    Change-Id: I4b0af0009e525a28dd124b34b424058bf3ed4c4a
    Reviewed-on: https://gerrit.libreoffice.org/78010
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index d418afbe8e07..5cb7769bb2df 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -79,8 +79,8 @@ public:
                 Show();
                 Size aParentSize(pParent->GetOutputSizePixel());
                 Size aOwnSize(GetSizePixel());
-                aParentSize.Width() -= aOwnSize.Width();
-                aParentSize.Height() -= aOwnSize.Height();
+                aParentSize.setWidth(aParentSize.Width() - aOwnSize.Width());
+                aParentSize.setHeight(aParentSize.Height() - 
aOwnSize.Height());
                 SetPosPixel(Point(aParentSize.Width(), aParentSize.Height()));
             }
         ~RulerDebugWindow();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to