sw/source/uibase/docvw/PostItMgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a2750dd8e3b6ff2be12df6875817ff298eed876b Author: Caolán McNamara <caol...@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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits