[Libreoffice-commits] .: basic/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Mar 21 02:32:27 PDT 2011


 basic/source/comp/codegen.cxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 473ed83c2236d59cb71fc59aa13b08f999f84b29
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 21 09:32:19 2011 +0000

    WaE: remove unused return values

diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index 12017ab..ba2430c 100755
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -243,15 +243,13 @@ void SbiCodeGen::Save()
                     String aPropName = pProc->GetPropName();
                     if( nPass == 1 )
                         aPropName = aPropName.Copy( aIfaceName.Len() + 1 );
-                    SbProcedureProperty* pProcedureProperty = NULL;
-                                        OSL_TRACE("*** getProcedureProperty for thing %s",
+                    OSL_TRACE("*** getProcedureProperty for thing %s",
                         rtl::OUStringToOString( aPropName,RTL_TEXTENCODING_UTF8 ).getStr() );
-                    pProcedureProperty = rMod.GetProcedureProperty( aPropName, ePropType );
+                    rMod.GetProcedureProperty( aPropName, ePropType );
                 }
                 if( nPass == 1 )
                 {
-                    SbIfaceMapperMethod* pMapperMeth = NULL;
-                    pMapperMeth = rMod.GetIfaceMapperMethod( aProcName, pMeth );
+                    rMod.GetIfaceMapperMethod( aProcName, pMeth );
                 }
                 else
                 {


More information about the Libreoffice-commits mailing list