[Libreoffice-commits] core.git: basic/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 28 08:00:45 UTC 2016


 basic/source/classes/sbxmod.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 8590614021c597006a3d964c31c84525e24acb2c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 28 09:00:15 2016 +0100

    -Werror,-Wunused-private-field
    
    Change-Id: Id85b4709e295453dfd351978096596aef09ce9a9

diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index eaeeb96..5ffda81 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -95,7 +95,6 @@ class DocObjectWrapper : public DocObjectWrapper_BASE
     SbModule*                m_pMod;
     SbMethodRef getMethod( const OUString& aName ) throw (RuntimeException, std::exception);
     SbPropertyRef getProperty( const OUString& aName ) throw (RuntimeException, std::exception);
-    OUString mName; // for debugging
 
 public:
     explicit DocObjectWrapper( SbModule* pMod );
@@ -117,7 +116,7 @@ public:
     virtual Sequence< Type > SAL_CALL getTypes() throw ( RuntimeException, std::exception ) override;
 };
 
-DocObjectWrapper::DocObjectWrapper( SbModule* pVar ) : m_pMod( pVar ), mName( pVar->GetName() )
+DocObjectWrapper::DocObjectWrapper( SbModule* pVar ) : m_pMod( pVar )
 {
     SbObjModule* pMod = dynamic_cast<SbObjModule*>( pVar );
     if ( pMod )


More information about the Libreoffice-commits mailing list