summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/impbmp.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-11-18 13:33:22 +0000
committerKurt Zenker <kz@openoffice.org>2003-11-18 13:33:22 +0000
commit783fb2dd42643b95681368f169a0cdca8d622d90 (patch)
treef2a6adb6017993d2cb5b56a3f16d5097ce491867 /vcl/source/gdi/impbmp.cxx
parent54807ceab26e6e791f37e2eb5e7cc377ada36f5c (diff)
INTEGRATION: CWS vclplug (1.1.1.1.348); FILE MERGED
2003/10/21 15:53:13 pl 1.1.1.1.348.1: #i21232# first round of virtualizing the Sal classes, Unix works, Windows to come
Diffstat (limited to 'vcl/source/gdi/impbmp.cxx')
-rw-r--r--vcl/source/gdi/impbmp.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/vcl/source/gdi/impbmp.cxx b/vcl/source/gdi/impbmp.cxx
index 3cb648163026..5db8c67ecb7f 100644
--- a/vcl/source/gdi/impbmp.cxx
+++ b/vcl/source/gdi/impbmp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impbmp.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:05:37 $
+ * last change: $Author: kz $ $Date: 2003-11-18 14:33:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -79,6 +79,8 @@
#endif
#include <impbmp.hxx>
#include <bitmap.hxx>
+#include <svdata.hxx>
+#include <salinst.hxx>
// --------------
// - ImpBitmap -
@@ -88,11 +90,7 @@ ImpBitmap::ImpBitmap() :
mnRefCount ( 1UL ),
mnChecksum ( 0UL ),
mpRMBitmap ( NULL ),
-#ifndef REMOTE_APPSERVER
- mpSalBitmap ( new SalBitmap )
-#else
- mpSalBitmap ( new ImplServerBitmap )
-#endif
+ mpSalBitmap ( ImplGetSVData()->mpDefInst->CreateSalBitmap() )
{
}