diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-11-15 03:49:33 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-11-15 04:26:48 +0100 |
commit | 30d6397809b741a49198497dea22d05336d17801 (patch) | |
tree | e50b090c3e8e66006bedfc6254b997663ff4f8d9 /vcl/source/gdi/mapmod.cxx | |
parent | d55bbd9ea2e37bf902894a6eeb1560cc981f182e (diff) |
vcl: cleanup whitespace in MapMode
Change-Id: Ib790bab105c337d62ffc93f72bf6da49a74f00cf
Diffstat (limited to 'vcl/source/gdi/mapmod.cxx')
-rw-r--r-- | vcl/source/gdi/mapmod.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/mapmod.cxx b/vcl/source/gdi/mapmod.cxx index e981a5d26253..9a804b017c91 100644 --- a/vcl/source/gdi/mapmod.cxx +++ b/vcl/source/gdi/mapmod.cxx @@ -49,8 +49,8 @@ MapMode::ImplMapMode::ImplMapMode() : maScaleX( 1, 1 ), maScaleY( 1, 1 ) { - meUnit = MapUnit::MapPixel; - mbSimple = true; + meUnit = MapUnit::MapPixel; + mbSimple = true; } MapMode::ImplMapMode::ImplMapMode( const ImplMapMode& rImplMapMode ) : @@ -64,7 +64,7 @@ MapMode::ImplMapMode::ImplMapMode( const ImplMapMode& rImplMapMode ) : bool MapMode::ImplMapMode::operator==( const ImplMapMode& rImpMapMode ) const { - if (meUnit == rImpMapMode.meUnit + if (meUnit == rImpMapMode.meUnit && maOrigin == rImpMapMode.maOrigin && maScaleX == rImpMapMode.maScaleX && maScaleY == rImpMapMode.maScaleY) @@ -88,7 +88,7 @@ MapMode::MapMode( const MapMode& rMapMode ) : mpImplMapMode( rMapMode.mpImplMapM MapMode::MapMode( MapUnit eUnit ) : mpImplMapMode() { - mpImplMapMode->meUnit = eUnit; + mpImplMapMode->meUnit = eUnit; } MapMode::MapMode( MapUnit eUnit, const Point& rLogicOrg, @@ -100,7 +100,7 @@ MapMode::MapMode( MapUnit eUnit, const Point& rLogicOrg, mpImplMapMode->maScaleY = rScaleY; mpImplMapMode->maScaleX.ReduceInaccurate(32); mpImplMapMode->maScaleY.ReduceInaccurate(32); - mpImplMapMode->mbSimple = false; + mpImplMapMode->mbSimple = false; } MapMode::~MapMode() @@ -131,7 +131,7 @@ void MapMode::SetScaleY( const Fraction& rScaleY ) double MapMode::GetUnitMultiplier() const { - double nMul; + double nMul; switch ( GetMapUnit() ) { case MapUnit::MapPixel : @@ -199,8 +199,8 @@ bool MapMode::IsDefault() const SvStream& ReadMapMode( SvStream& rIStm, MapMode& rMapMode ) { - VersionCompat aCompat( rIStm, StreamMode::READ ); - sal_uInt16 nTmp16; + VersionCompat aCompat( rIStm, StreamMode::READ ); + sal_uInt16 nTmp16; rIStm.ReadUInt16( nTmp16 ); rMapMode.mpImplMapMode->meUnit = (MapUnit) nTmp16; ReadPair( rIStm, rMapMode.mpImplMapMode->maOrigin ); |