diff options
Diffstat (limited to 'vcl/source/gdi/gdimtf.cxx')
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index 10d0e9294c12..4c586872fedd 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -692,14 +692,26 @@ bool GDIMetaFile::Mirror( BmpMirrorFlags nMirrorFlags ) bool bRet; if( nMirrorFlags & BmpMirrorFlags::Horizontal ) - nMoveX = SAL_ABS( aOldPrefSize.Width() ) - 1, fScaleX = -1.0; + { + nMoveX = SAL_ABS( aOldPrefSize.Width() ) - 1; + fScaleX = -1.0; + } else - nMoveX = 0, fScaleX = 1.0; + { + nMoveX = 0; + fScaleX = 1.0; + } if( nMirrorFlags & BmpMirrorFlags::Vertical ) - nMoveY = SAL_ABS( aOldPrefSize.Height() ) - 1, fScaleY = -1.0; + { + nMoveY = SAL_ABS( aOldPrefSize.Height() ) - 1; + fScaleY = -1.0; + } else - nMoveY = 0, fScaleY = 1.0; + { + nMoveY = 0; + fScaleY = 1.0; + } if( ( fScaleX != 1.0 ) || ( fScaleY != 1.0 ) ) { |