summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/appl/appbas.cxx25
-rw-r--r--sfx2/source/doc/objxtor.cxx1
-rw-r--r--sfx2/source/inc/appbas.hxx37
-rw-r--r--sfx2/source/view/viewfrm.cxx1
4 files changed, 0 insertions, 64 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
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index ba859764e582..6f481d8154d5 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -81,7 +81,6 @@
#include <sfx2/viewfrm.hxx>
#include <sfx2/sfxresid.hxx>
#include "objshimp.hxx"
-#include "appbas.hxx"
#include "sfxtypes.hxx"
#include <sfx2/evntconf.hxx>
#include <sfx2/request.hxx>
diff --git a/sfx2/source/inc/appbas.hxx b/sfx2/source/inc/appbas.hxx
deleted file mode 100644
index ebedd3ce5a2a..000000000000
--- a/sfx2/source/inc/appbas.hxx
+++ /dev/null
@@ -1,37 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_SFX2_SOURCE_INC_APPBAS_HXX
-#define INCLUDED_SFX2_SOURCE_INC_APPBAS_HXX
-
-
-#include <basic/sbxdef.hxx>
-
-class StarBASIC;
-class SbxObject;
-
-
-
-SbxVariable* MakeVariable( StarBASIC *pBas, SbxObject *pObject,
- const char *pName, sal_uIntPtr nSID, SbxDataType eType=SbxOBJECT,
- SbxClassType = SbxCLASS_PROPERTY );
-
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 9ed802172c63..ca037c03ef24 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -119,7 +119,6 @@ using ::com::sun::star::container::XIndexContainer;
#include <sfx2/docfac.hxx>
#include <sfx2/ipclient.hxx>
#include <sfx2/sfxresid.hxx>
-#include "appbas.hxx"
#include <sfx2/objitem.hxx>
#include <sfx2/viewfac.hxx>
#include <sfx2/event.hxx>