summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par.cxx
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/filter/ww8/ww8par.cxx
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/filter/ww8/ww8par.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index c6d829c4c915..696826550e3d 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -678,10 +678,10 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
}
// Distance of Textbox to its surrounding Autoshape
- sal_Int32 nTextLeft = GetPropertyValue( DFF_Prop_dxTextLeft, 91440L);
- sal_Int32 nTextRight = GetPropertyValue( DFF_Prop_dxTextRight, 91440L );
- sal_Int32 nTextTop = GetPropertyValue( DFF_Prop_dyTextTop, 45720L );
- sal_Int32 nTextBottom = GetPropertyValue( DFF_Prop_dyTextBottom, 45720L );
+ sal_Int32 nTextLeft = GetPropertyValue( DFF_Prop_dxTextLeft, 91440);
+ sal_Int32 nTextRight = GetPropertyValue( DFF_Prop_dxTextRight, 91440 );
+ sal_Int32 nTextTop = GetPropertyValue( DFF_Prop_dyTextTop, 45720 );
+ sal_Int32 nTextBottom = GetPropertyValue( DFF_Prop_dyTextBottom, 45720 );
ScaleEmu( nTextLeft );
ScaleEmu( nTextRight );
@@ -976,13 +976,13 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
}
pImpRec->nDxWrapDistLeft = GetPropertyValue(
- DFF_Prop_dxWrapDistLeft, 114935L ) / 635L;
+ DFF_Prop_dxWrapDistLeft, 114935 ) / 635;
pImpRec->nDyWrapDistTop = GetPropertyValue(
- DFF_Prop_dyWrapDistTop, 0 ) / 635L;
+ DFF_Prop_dyWrapDistTop, 0 ) / 635;
pImpRec->nDxWrapDistRight = GetPropertyValue(
- DFF_Prop_dxWrapDistRight, 114935L ) / 635L;
+ DFF_Prop_dxWrapDistRight, 114935 ) / 635;
pImpRec->nDyWrapDistBottom = GetPropertyValue(
- DFF_Prop_dyWrapDistBottom, 0 ) / 635L;
+ DFF_Prop_dyWrapDistBottom, 0 ) / 635;
// 16.16 fraction times total image width or height, as appropriate.
if (SeekToContent(DFF_Prop_pWrapPolygonVertices, rSt))