summaryrefslogtreecommitdiff
path: root/sc/inc/scdll.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-19 07:20:45 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-19 07:20:45 +0000
commit2c5977de3d62343b8cee26a697e0ecdabd83698d (patch)
treecfc5925626041efb1c96760457e7d766cd6f07d2 /sc/inc/scdll.hxx
parente8d929a71cc9bac4e49cdbd1d472aed7b1d7e6ee (diff)
INTEGRATION: CWS fwkq1 (1.2.74); FILE MERGED
2003/07/14 16:27:50 mba 1.2.74.1: #110843#: get rid of factories
Diffstat (limited to 'sc/inc/scdll.hxx')
-rw-r--r--sc/inc/scdll.hxx36
1 files changed, 3 insertions, 33 deletions
diff --git a/sc/inc/scdll.hxx b/sc/inc/scdll.hxx
index e081f0dd8448..acfd91a81920 100644
--- a/sc/inc/scdll.hxx
+++ b/sc/inc/scdll.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scdll.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 18:03:36 $
+ * last change: $Author: rt $ $Date: 2003-09-19 08:20:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -114,37 +114,7 @@ public:
SfxFilterFlags nMust, SfxFilterFlags nDont );
};
-//-------------------------------------------------------------------------
-
-class ScModuleDummy: public SfxModule
-
-/* [Description]
-
- This tricky class keeps pointers to the SvFactories while
- the DLL isn`t loaded. A pointer to the one instance is available
- through SXX_MOD() (shared-lib-app-data).
-*/
-
-{
-public:
- // SvFactory name convention:
- // 'p' + SfxObjectShell-subclass + 'Factory'
- SotFactory* pScDocShellFactory;
-
- ScModuleDummy( ResMgr *pResMgr, BOOL bDummy, SfxObjectFactory* pFact )
- : SfxModule(pResMgr, bDummy, pFact, NULL),
- pScDocShellFactory(pFact)
- {}
-
- virtual SfxModule* Load();
-
- static SvGlobalName GetID(USHORT nFileFormat);
- static USHORT HasID(const SvGlobalName& rName);
-};
-
-//-------------------------------------------------------------------------
-
-#define SC_DLL() ( *(ScModuleDummy**) GetAppData(SHL_CALC) )
+#define SC_DLL() ( *(ScModule**) GetAppData(SHL_CALC) )
#endif