summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-10-09 14:24:41 +0000
committerKurt Zenker <kz@openoffice.org>2007-10-09 14:24:41 +0000
commit2d97eba985d32d44ee98dd136cd11688b135f192 (patch)
tree0440156ef3dd77aad8e6fa68e773450f0a0b001f /basctl
parent05b0415946eabcffa7c5e1b927b329bbb8c0c1ae (diff)
INTEGRATION: CWS basmgr03 (1.19.12); FILE MERGED
2007/07/26 09:10:50 fs 1.19.12.1: remove unused calls to SfxViewFrame::Current
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/objdlg.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/basctl/source/basicide/objdlg.cxx b/basctl/source/basicide/objdlg.cxx
index 9c0e405f5a1a..ae521e14b3d7 100644
--- a/basctl/source/basicide/objdlg.cxx
+++ b/basctl/source/basicide/objdlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: objdlg.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: obo $ $Date: 2007-03-15 15:58:57 $
+ * last change: $Author: kz $ $Date: 2007-10-09 15:24:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -201,7 +201,6 @@ IMPL_LINK( ObjectCatalog, ToolBoxHdl, ToolBox*, pToolBox )
{
case TBITEM_SHOW:
{
- SfxViewFrame* pViewFrame = SfxViewFrame::Current();
SfxAllItemSet aArgs( SFX_APP()->GetPool() );
SfxRequest aRequest( SID_BASICIDE_APPEAR, SFX_CALLMODE_SYNCHRON, aArgs );
SFX_APP()->ExecuteSlot( aRequest );
@@ -210,7 +209,7 @@ IMPL_LINK( ObjectCatalog, ToolBoxHdl, ToolBox*, pToolBox )
DBG_ASSERT( pCurEntry, "Entry?!" );
BasicEntryDescriptor aDesc( aMacroTreeList.GetEntryDescriptor( pCurEntry ) );
BasicIDEShell* pIDEShell = IDE_DLL()->GetShell();
- pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL;
+ SfxViewFrame* pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL;
SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL;
if ( aDesc.GetType() == OBJ_TYPE_MODULE ||
aDesc.GetType() == OBJ_TYPE_DIALOG ||