diff options
author | Rosen <rosen@live.com> | 2016-09-23 07:29:44 +0530 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-10-25 07:14:26 +0000 |
commit | 8ae33b1652cb1e654c426350169d3bb9fa031a4f (patch) | |
tree | 5e6da91a27f6afeacbcc886753f355a25998f204 /cppcanvas | |
parent | 0560f6cc3cd83923f03ec909a1771c6a984ee25d (diff) |
tdf#96505 Get rid of cargo cult "long" integer literals
fixed all long integer literals in file
Change-Id: Ib557d88d4e4f17d5c334c92d611d002fe163f2f6
Reviewed-on: https://gerrit.libreoffice.org/29235
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 0491553a42ff..2a2bcc257796 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -1577,8 +1577,8 @@ namespace cppcanvas // #i44110# correct null-sized output - there // are metafiles which have zero size in at // least one dimension - const Size aMtfSizePix( ::std::max( aMtfSizePixPre.Width(), 1L ), - ::std::max( aMtfSizePixPre.Height(), 1L ) ); + const Size aMtfSizePix( ::std::max( (int)aMtfSizePixPre.Width(), 1 ), + ::std::max( (int)aMtfSizePixPre.Height(), 1 ) ); // Setup local transform, such that the // metafile renders itself into the given @@ -2914,8 +2914,8 @@ namespace cppcanvas // #i44110# correct null-sized output - there are shapes // which have zero size in at least one dimension - const Size aMtfSizePix( ::std::max( aMtfSizePixPre.Width(), 1L ), - ::std::max( aMtfSizePixPre.Height(), 1L ) ); + const Size aMtfSizePix( ::std::max( (int)aMtfSizePixPre.Width(), 1 ), + ::std::max( (int)aMtfSizePixPre.Height(), 1 ) ); sal_Int32 nCurrActions(0); ActionFactoryParameters aParms(aStateStack, |