diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-23 16:43:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-23 20:26:00 +0200 |
commit | a2750dd8e3b6ff2be12df6875817ff298eed876b (patch) | |
tree | ab63cd2ce3be6291130ff8fcfd95806ffef6c240 /sw/source/uibase/docvw | |
parent | 8bc6715a1a0ab43a1176c27a043f39c2dc587175 (diff) |
want to add these together before multiply the result
Change-Id: I5f42ed3d5ad5d64faeb06bbfaaa23d84e81963b0
Reviewed-on: https://gerrit.libreoffice.org/42694
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/docvw')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 90d11cec6ceb..90f0b8ffbcbd 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -2152,7 +2152,7 @@ sal_Int32 SwPostItMgr::GetSpaceBetween() const sal_Int32 SwPostItMgr::GetScrollSize() const { const Fraction& f( mpEditWin->GetMapMode().GetScaleY() ); - return long(POSTIT_SPACE_BETWEEN + POSTIT_MINIMUMSIZE_WITH_META * f); + return long((POSTIT_SPACE_BETWEEN + POSTIT_MINIMUMSIZE_WITH_META) * f); } sal_Int32 SwPostItMgr::GetMinimumSizeWithMeta() const |