summaryrefslogtreecommitdiff
path: root/starmath/inc/smmod.hxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-07-06 12:02:49 +0000
committerjp <jp@openoffice.org>2001-07-06 12:02:49 +0000
commit3a578758c2dde0e2cc60417c4b1edf3bf4207063 (patch)
tree6f64fe9bd8e4784c1f18847e420b6fd6e375e16f /starmath/inc/smmod.hxx
parent27b6990cc1b8dd7be32499db6252c88cd0317e21 (diff)
changes for remove GetAppInternational
Diffstat (limited to 'starmath/inc/smmod.hxx')
-rw-r--r--starmath/inc/smmod.hxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index 42aad1b48388..38257ad2b71d 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: smmod.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: tl $ $Date: 2001-05-02 16:58:48 $
+ * last change: $Author: jp $ $Date: 2001-07-06 13:02:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,13 +87,16 @@ class SmModule;
\************************************************************************/
class SmRectCache;
+class SvtSysLocale;
class SmModule : public SmModuleDummy
{
SmConfig *pConfig;
SmRectCache *pRectCache;
+ SvtSysLocale *pSysLocale;
virtual void FillStatusBar(StatusBar &rBar);
+ void _CreateSysLocale() const;
public:
TYPEINFO();
@@ -110,6 +113,13 @@ public:
void GetState(SfxItemSet&);
+ const SvtSysLocale& GetSysLocale() const
+ {
+ if( !pSysLocale )
+ _CreateSysLocale();
+ return *pSysLocale;
+ }
+
//virtuelle Methoden fuer den Optionendialog
virtual SfxItemSet* CreateItemSet( USHORT nId );
virtual void ApplyItemSet( USHORT nId, const SfxItemSet& rSet );