diff options
Diffstat (limited to 'svx/source/items/grfitem.cxx')
-rw-r--r-- | svx/source/items/grfitem.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/svx/source/items/grfitem.cxx b/svx/source/items/grfitem.cxx index b033f8fe8bbb..e4cfffc41166 100644 --- a/svx/source/items/grfitem.cxx +++ b/svx/source/items/grfitem.cxx @@ -56,7 +56,12 @@ SfxPoolItem* SvxGrfCrop::Create( SvStream& rStrm, sal_uInt16 nVersion ) const rStrm.ReadInt32( top ).ReadInt32( left ).ReadInt32( right ).ReadInt32( bottom ); if( GRFCROP_VERSION_SWDEFAULT == nVersion ) - top = -top, bottom = -bottom, left = -left, right = -right; + { + top = -top; + bottom = -bottom; + left = -left; + right = -right; + } SvxGrfCrop* pNew = static_cast<SvxGrfCrop*>(Clone()); pNew->SetLeft( left ); @@ -72,7 +77,12 @@ SvStream& SvxGrfCrop::Store( SvStream& rStrm, sal_uInt16 nVersion ) const sal_Int32 left = GetLeft(), right = GetRight(), top = GetTop(), bottom = GetBottom(); if( GRFCROP_VERSION_SWDEFAULT == nVersion ) - top = -top, bottom = -bottom, left = -left, right = -right; + { + top = -top; + bottom = -bottom; + left = -left; + right = -right; + } rStrm.WriteInt32( top ).WriteInt32( left ).WriteInt32( right ).WriteInt32( bottom ); |