[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jun 8 02:36:55 PDT 2011
sc/source/core/tool/interpr4.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 8f4126a1be1bdd5bc085631ddc878ef49f493bb9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 8 10:02:04 2011 +0100
WaE: I can't see the need for acquiring these unused resources
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 12672f5..4813b84 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3130,13 +3130,7 @@ void ScInterpreter::ScMacro()
aMacroStr += pMethod->GetName();
String aBasicStr;
if (pObject->GetParent())
- {
aBasicStr = pObject->GetParent()->GetName(); // Dokumentenbasic
- const SfxFilter* pFilter = NULL;
- SfxMedium* pMedium = pDok->GetDocumentShell()->GetMedium();
- if ( pMedium )
- pFilter = pMedium->GetFilter();
- }
else
aBasicStr = SFX_APP()->GetName(); // Applikationsbasic
More information about the Libreoffice-commits
mailing list