[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Sat Sep 23 18:26:37 UTC 2017
sw/source/uibase/docvw/PostItMgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2750dd8e3b6ff2be12df6875817ff298eed876b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Sep 23 16:43:43 2017 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list