summaryrefslogtreecommitdiff
path: root/starmath/source/smmod.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2002-01-11 14:36:08 +0000
committerThomas Lange <tl@openoffice.org>2002-01-11 14:36:08 +0000
commitc0ad4af9a6583b1dc655778a1724a45374fbdfaf (patch)
treeb282d32ef8b62668c3dfcac2605dc8e531b45950 /starmath/source/smmod.cxx
parentbae00a13adc6aa9c8ef22d7d23f5574482e04335 (diff)
#96409# virtual device problem fixed
Diffstat (limited to 'starmath/source/smmod.cxx')
-rw-r--r--starmath/source/smmod.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index 30e8777cde34..5294a5b7aebc 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: smmod.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: tl $ $Date: 2001-11-02 12:13:16 $
+ * last change: $Author: tl $ $Date: 2002-01-11 15:35:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -290,7 +290,8 @@ SmModule::SmModule(SvFactory* pObjFact) :
pConfig( 0 ),
pLocSymbolData( 0 ),
pRectCache( new SmRectCache ),
- pSysLocale( 0 )
+ pSysLocale( 0 ),
+ pVirtualDev( 0 )
{
SetName( C2S("StarMath" ));
}
@@ -302,6 +303,7 @@ SmModule::~SmModule()
delete pLocSymbolData;
delete pRectCache;
delete pSysLocale;
+ delete pVirtualDev;
}
void SmModule::_CreateSysLocale() const
@@ -310,6 +312,12 @@ void SmModule::_CreateSysLocale() const
pThis->pSysLocale = new SvtSysLocale;
}
+void SmModule::_CreateVirtualDev() const
+{
+ SmModule* pThis = (SmModule*)this;
+ pThis->pVirtualDev = new VirtualDevice;
+}
+
SmConfig * SmModule::GetConfig()
{
if(!pConfig)