summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg
diff options
context:
space:
mode:
authortagezi <lera.goncharuk@gmail.com>2017-12-07 22:27:21 +0200
committerMichael Stahl <mstahl@redhat.com>2017-12-11 22:02:48 +0100
commitbaadb184e84568acd1c6efda95c3715b05818da3 (patch)
treeda662ed1115c4b527bd5c67690ef0e738087b818 /sw/source/ui/frmdlg
parent09815cf40fad561991bec4bea15b3f677c937b02 (diff)
tdf#96505 Deleted suffix long (L) where it is possible
Change-Id: Iafe5ea3822f7f0170d2fb041fea604e95dbfa015 Reviewed-on: https://gerrit.libreoffice.org/46041 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index d2ab2ce96c8d..abe24490f64b 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -82,8 +82,8 @@ struct StringIdPair_Impl
SvxSwFramePosString::StringId eVert;
};
-#define MAX_PERCENT_WIDTH 254L
-#define MAX_PERCENT_HEIGHT 254L
+#define MAX_PERCENT_WIDTH 254
+#define MAX_PERCENT_HEIGHT 254
enum class LB {
NONE = 0x00000000L,
@@ -2698,8 +2698,8 @@ void BmpWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle
if (!aGrfSize.Width() && !aGrfSize.Height())
aGrfSize = rRenderContext.PixelToLogic(aBmp.GetSizePixel());
- long nRelGrf = aGrfSize.Width() * 100L / aGrfSize.Height();
- long nRelWin = aPntSz.Width() * 100L / aPntSz.Height();
+ long nRelGrf = aGrfSize.Width() * 100 / aGrfSize.Height();
+ long nRelWin = aPntSz.Width() * 100 / aPntSz.Height();
if (nRelGrf < nRelWin)
{
const long nWidth = aPntSz.Width();