From d00aea1a6e428a46a5032122d6f22c054e3c07a2 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Mon, 1 Nov 2010 15:17:35 +0100 Subject: undoapi: removed SfxMacroConfig::CheckMacro/IsBasic, SfxObjectShell::IsBasic, SfxCallMacro - this was dead code --- sfx2/inc/sfxbasic.hxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sfx2/inc/sfxbasic.hxx') 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 -- cgit From b5b8f1ecabe9fc92d357585202beb237fa813746 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Mon, 1 Nov 2010 15:32:54 +0100 Subject: undoapi: moved the last remaining method of SfxMacroConfig (::Call) into the SfxApplication, and got rid of the class completely --- sfx2/inc/sfxbasic.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sfx2/inc/sfxbasic.hxx') diff --git a/sfx2/inc/sfxbasic.hxx b/sfx2/inc/sfxbasic.hxx index fe4a7070ea18..5c367c52a2d4 100644 --- a/sfx2/inc/sfxbasic.hxx +++ b/sfx2/inc/sfxbasic.hxx @@ -29,6 +29,7 @@ class BasicManager; class SbMethod; +class String; //------------------------------------------------------------------ -- cgit From 8241bf7c831b07bc19509387f1514c42bc5624c1 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Mon, 1 Nov 2010 21:50:46 +0100 Subject: undoapi: - introduced BasicManager::HasMacro/ExecuteMacro - removed SfxQueryMacro, superseded by BasicManager::ExecuteMacro - removed macrconf.hxx - removed SfxObjectShell::CallScript, migrated the only client to BasicManager::HasMacro/SfxObjectShell::CallXScript - removed SfxObjectShell::CallStarBasicScript, migrated the only client to SfxObjectShell::CallXScript --- sfx2/inc/sfxbasic.hxx | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 sfx2/inc/sfxbasic.hxx (limited to 'sfx2/inc/sfxbasic.hxx') diff --git a/sfx2/inc/sfxbasic.hxx b/sfx2/inc/sfxbasic.hxx deleted file mode 100644 index 5c367c52a2d4..000000000000 --- a/sfx2/inc/sfxbasic.hxx +++ /dev/null @@ -1,39 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * - * for a copy of the LGPLv3 License. - * - ************************************************************************/ -#ifndef _SFXBASIC_HXX -#define _SFXBASIC_HXX - -class BasicManager; -class SbMethod; -class String; - -//------------------------------------------------------------------ - -SbMethod* SfxQueryMacro( BasicManager* pMgr, const String& rMacro ); - -#endif - -- cgit