Kaydet (Commit) 8ae33b16 authored tarafından Rosen's avatar Rosen Kaydeden (comit) jan iversen

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/29235Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
üst 0560f6cc
......@@ -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,
......
......@@ -80,7 +80,7 @@ namespace drawinglayer
if(nIndex >= nLen)
{
nIndex = nLen - 1L;
nIndex = nLen - 1;
}
const Primitive2DReference xRef(getChildren()[nIndex], uno::UNO_QUERY_THROW);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment