diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:17:35 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-11-01 15:17:35 +0100 |
commit | d00aea1a6e428a46a5032122d6f22c054e3c07a2 (patch) | |
tree | bc3521661c975af92d5407ff359635d8acca49de /sfx2/inc | |
parent | 952bfc2f29732777c0cdd79170f6a47ecc3ac4c7 (diff) |
undoapi: removed SfxMacroConfig::CheckMacro/IsBasic, SfxObjectShell::IsBasic, SfxCallMacro - this was dead code
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/macrconf.hxx | 7 | ||||
-rw-r--r-- | sfx2/inc/sfx2/objsh.hxx | 1 | ||||
-rw-r--r-- | sfx2/inc/sfxbasic.hxx | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/inc/sfx2/macrconf.hxx b/sfx2/inc/sfx2/macrconf.hxx index 6b50ddf3497a..d84edd626d7b 100644 --- a/sfx2/inc/sfx2/macrconf.hxx +++ b/sfx2/inc/sfx2/macrconf.hxx @@ -59,8 +59,6 @@ class SFX2_DLLPUBLIC SfxMacroInfo { friend class SfxMacroConfig; friend class SfxEventConfiguration; -friend SvStream& operator >> (SvStream& rStream, SfxMacroInfo& rInfo); -friend SvStream& operator << (SvStream& rStream, const SfxMacroInfo& rInfo); String* pHelpText; sal_uInt16 nRefCnt; @@ -80,8 +78,6 @@ public: const String& rModuleName, const String& rMethodName); ~SfxMacroInfo(); sal_Bool operator==(const SfxMacroInfo& rOther) const; - int Load (SvStream&); - int Store (SvStream&); String GetMacroName() const; String GetQualifiedName() const; String GetFullQualifiedName() const; @@ -127,7 +123,6 @@ public: static String RequestHelp( sal_uInt16 nId ); static sal_Bool IsMacroSlot( sal_uInt16 nId ); - static sal_Bool IsBasic( SbxObject*, const String&, BasicManager* ); static ErrCode Call( SbxObject*, const String&, BasicManager*, SbxArray *pArgs=NULL, SbxValue *pRet=NULL ); //ASDBG obsolete >= 582 @@ -141,8 +136,6 @@ public: SfxMacroInfo* GetMacroInfo(sal_uInt16 nId) const; sal_Bool ExecuteMacro(sal_uInt16 nId, const String& rArgs ) const; sal_Bool ExecuteMacro( SfxObjectShell*, const SvxMacro*, const String& ) const; - sal_Bool CheckMacro(sal_uInt16 nId) const; - sal_Bool CheckMacro( SfxObjectShell*, const SvxMacro* ) const; //#if 0 // _SOLAR__PRIVATE SAL_DLLPRIVATE static void Release_Impl(); diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx index c2120dd1a32c..d256dbee81c0 100644 --- a/sfx2/inc/sfx2/objsh.hxx +++ b/sfx2/inc/sfx2/objsh.hxx @@ -363,7 +363,6 @@ public: virtual SfxDocumentInfoDialog* CreateDocumentInfoDialog( Window *pParent, const SfxItemSet& ); - sal_Bool IsBasic( const String & rCode, SbxObject * pVCtrl = NULL ); ErrCode CallBasic( const String& rMacro, const String& rBasicName, SbxObject* pVCtrl, SbxArray* pArgs = 0, SbxValue* pRet = 0 ); diff --git a/sfx2/inc/sfxbasic.hxx b/sfx2/inc/sfxbasic.hxx index ff5f097500a5..fe4a7070ea18 100644 --- a/sfx2/inc/sfxbasic.hxx +++ b/sfx2/inc/sfxbasic.hxx @@ -34,9 +34,5 @@ class SbMethod; SbMethod* SfxQueryMacro( BasicManager* pMgr, const String& rMacro ); -ErrCode SfxCallMacro( BasicManager* pMgr, const String& rMacro, - SbxArray *pArgs = 0, SbxValue *pRet = 0 ); - - #endif |