[Libreoffice-commits] .: basctl/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Feb 10 02:12:23 PST 2011


 basctl/source/basicide/basides1.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit c9fb7e6fccac220dd578d79694fc26a47259f5b7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Feb 10 09:44:53 2011 +0000

    new gcc warnings, variable set but unused

diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 0b4b7d6..07436de 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;


More information about the Libreoffice-commits mailing list