diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-08-23 21:52:20 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-08-23 21:49:46 +0200 |
commit | e4c7126354c4d96f20e87c0d72b631ed99c6c2be (patch) | |
tree | 939715dc294e63871fa1b7ddfec5a1857c377d7d /svx/source | |
parent | 5e01eb45862a59e1d68efabd725b69219fd3bee1 (diff) |
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 <quikee@gmail.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |