summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/image.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-05-24 11:07:36 +0000
committerRüdiger Timm <rt@openoffice.org>2004-05-24 11:07:36 +0000
commitb56fee92d9cded149eead3cddaf1bd8d823b9a24 (patch)
treec943938a0750dc5212491ba1e46da58767884044 /vcl/source/gdi/image.cxx
parent6adf5bcafd161c6fd57bee99815a4426e3622911 (diff)
#i10000# Cast changed to make it compile under solaris, too.
Diffstat (limited to 'vcl/source/gdi/image.cxx')
-rw-r--r--vcl/source/gdi/image.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/image.cxx b/vcl/source/gdi/image.cxx
index ab42b88bddef..1f2db197656c 100644
--- a/vcl/source/gdi/image.cxx
+++ b/vcl/source/gdi/image.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: image.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2004-05-21 16:23:20 $
+ * last change: $Author: rt $ $Date: 2004-05-24 12:07:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -350,7 +350,7 @@ Image Image::GetColorTransformedImage( ImageColorTransform eColorTransform ) con
BitmapEx aBmpEx( GetBitmapEx() );
if( !aBmpEx.IsEmpty() )
- aRet = Image( aBmpEx.GetColorTransformedBitmapEx( static_cast< BmpColorMode >( eColorTransform ) ) );
+ aRet = Image( aBmpEx.GetColorTransformedBitmapEx( ( BmpColorMode )( eColorTransform ) ) );
}
if( !aRet )
@@ -1368,7 +1368,7 @@ ImageList ImageList::GetColorTransformedImageList( ImageColorTransform eColorTra
{
aRet = *this;
aRet.ImplMakeUnique();
- aRet.mpImplData->mpImageBitmap->ColorTransform( static_cast< BmpColorMode >( eColorTransform ) );
+ aRet.mpImplData->mpImageBitmap->ColorTransform( ( BmpColorMode )( eColorTransform ) );
}
if( !aRet.GetImageCount() )