summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appbas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/appbas.cxx')
-rw-r--r--sfx2/source/appl/appbas.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 510a4796ed97..0501d5a94dba 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -65,7 +65,6 @@
#include <sfx2/request.hxx>
#include <sfx2/dinfdlg.hxx>
#include "appdata.hxx"
-#include "appbas.hxx"
#include <sfx2/sfxhelp.hxx>
#include <basic/basmgr.hxx>
#include <svtools/svtools.hrc>
@@ -94,30 +93,6 @@ sal_uInt16 SfxApplication::SaveBasicAndDialogContainer() const
return 0;
}
-
-
-SbxVariable* MakeVariable( StarBASIC *pBas, SbxObject *pObject,
- const char *pName, sal_uInt32 nSID, SbxDataType eType, SbxClassType eClassType )
-{
-#ifdef DISABLE_SCRIPTING
- (void) pBas;
- (void) pObject;
- (void) pName;
- (void) nSID;
- (void) eType;
- (void) eClassType;
- return 0;
-#else
- SbxVariable *pVar = pBas->Make( OUString::createFromAscii(pName), eClassType, eType ); //SbxCLASS_PROPERTY
- pVar->SetUserData( nSID );
- pVar->SetFlag( SBX_DONTSTORE );
- pObject->StartListening( pVar->GetBroadcaster() );
- return pVar;
-#endif
-}
-
-
-
BasicManager* SfxApplication::GetBasicManager()
{
#ifdef DISABLE_SCRIPTING