summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2001-12-13 13:54:19 +0000
committerHerbert Duerr <hdu@openoffice.org>2001-12-13 13:54:19 +0000
commit4d70c62b44adc59ad7e11f50760ec06eddfb4aad (patch)
tree83341b2558f4a0357524d8cad837db51a359cbfc /vcl/source/glyphs
parentc0dc448d95980d4bf0053adbd3dd2572d54606f4 (diff)
#95640# fix offsets for 180degree rotation
Diffstat (limited to 'vcl/source/glyphs')
-rwxr-xr-xvcl/source/glyphs/gcach_rbmp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/glyphs/gcach_rbmp.cxx b/vcl/source/glyphs/gcach_rbmp.cxx
index 3b769a2a579f..e86c44cb48ba 100755
--- a/vcl/source/glyphs/gcach_rbmp.cxx
+++ b/vcl/source/glyphs/gcach_rbmp.cxx
@@ -2,8 +2,8 @@
*
* $RCSfile: gcach_rbmp.cxx,v $
*
- * $Revision: 1.2 $
- * last change: $Author: hdu $ $Date: 2001-08-10 16:41:48 $
+ * $Revision: 1.3 $
+ * last change: $Author: hdu $ $Date: 2001-12-13 14:54:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -215,7 +215,7 @@ bool RawBitmap::Rotate( int nAngle )
return false;
case 1800: // rotate by 180 degrees
mnXOffset = -(mnXOffset + mnWidth);
- mnYOffset += mnHeight;
+ mnYOffset = -(mnYOffset + mnHeight);
if( mnBitCount == 8 )
{
ImplRotate8_180( mpBits, mnWidth, mnHeight, mnScanlineSize-mnWidth );