summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-10 12:15:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-10 12:15:37 +0000
commitb563d247736c52dce991e5cd22156447c5d84613 (patch)
tree4b1eeda21695c8dd3dff2b9b90c909d1389ae049 /vcl/source/gdi/bitmap.cxx
parente23e85a1ff2dfcc2ca81effeee21cdcb39be1e36 (diff)
INTEGRATION: CWS presfixes01 (1.11.212); FILE MERGED
2005/01/26 16:44:52 pl 1.11.212.1: #i41363# get system bitmap representation
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r--vcl/source/gdi/bitmap.cxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index 947b4e4c8041..f7fa47b12884 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bitmap.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2004-05-21 16:22:22 $
+ * last change: $Author: vg $ $Date: 2005-03-10 13:15:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,6 +80,9 @@
#ifndef _SV_IMPBMP_HXX
#include <impbmp.hxx>
#endif
+#ifndef _SV_SALBMP_HXX
+#include <salbmp.hxx>
+#endif
#ifndef _SV_RC_H
#include <tools/rc.h>
#endif
@@ -1945,3 +1948,18 @@ BOOL Bitmap::MakeMono( BYTE cThreshold )
{
return ImplMakeMono( cThreshold );
}
+
+// ------------------------------------------------------------------
+
+bool Bitmap::GetSystemData( BitmapSystemData& rData ) const
+{
+ bool bRet = false;
+ if( mpImpBmp )
+ {
+ SalBitmap* pSalBitmap = mpImpBmp->ImplGetSalBitmap();
+ if( pSalBitmap )
+ bRet = pSalBitmap->GetSystemData( rData );
+ }
+
+ return bRet;
+}