summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-10 09:44:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-10 09:44:53 +0000
commit72d95a4b975097d76b75fd88f7024e84b4ff97de (patch)
tree2b97ebc0c7c5cf65069f90bef16f7eae86728e2c /basctl
parent0daab2a9a2c3226bbdbc14cb935a8cdc5f2a61ca (diff)
new gcc warnings, variable set but unused
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 12bcaee7aec3..1c347e6b2626 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -598,11 +598,10 @@ void BasicIDEShell::ExecuteGlobal( SfxRequest& rReq )
String aName( rSbxItem.GetName() );
if ( !m_aCurLibName.Len() || ( aDocument == m_aCurDocument && aLibName == m_aCurLibName ) )
{
- IDEBaseWindow* pWin = 0;
if ( rSbxItem.GetType() == BASICIDE_TYPE_MODULE )
- pWin = FindBasWin( aDocument, aLibName, aName, TRUE );
+ FindBasWin( aDocument, aLibName, aName, TRUE );
else if ( rSbxItem.GetType() == BASICIDE_TYPE_DIALOG )
- pWin = FindDlgWin( aDocument, aLibName, aName, TRUE );
+ FindDlgWin( aDocument, aLibName, aName, TRUE );
}
}
break;