[Libreoffice-commits] core.git: sfx2/source
Stephan Bergmann
sbergman at redhat.com
Wed Apr 9 07:15:20 PDT 2014
sfx2/source/appl/appbas.cxx | 25 -------------------------
sfx2/source/doc/objxtor.cxx | 1 -
sfx2/source/inc/appbas.hxx | 37 -------------------------------------
sfx2/source/view/viewfrm.cxx | 1 -
4 files changed, 64 deletions(-)
New commits:
commit bf621a2e28b1e9ff4669a52315b2234a44200605
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 9 16:13:32 2014 +0200
Remove unused MakeVariable
...unused ever since at least fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial
import."
Change-Id: I6ec792b68ce6b13b1cf074d9719a23daf3356e66
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 510a479..0501d5a 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 ba85976..6f481d8 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 ebedd3c..0000000
--- 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 9ed8021..ca037c0 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>
More information about the Libreoffice-commits
mailing list