summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-28 09:00:15 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:08:09 -0500
commitb6c522be4e8a1325c2843e066252eeffa06309ed (patch)
treec27f9ab48942a96f2d18bb0634975eefbe43c2e0 /basic
parent7fb8f19fb4c3236a5b9c0101a628c0b5dee99414 (diff)
-Werror,-Wunused-private-field
Change-Id: Id85b4709e295453dfd351978096596aef09ce9a9 (cherry picked from commit 8590614021c597006a3d964c31c84525e24acb2c) (cherry picked from commit bd98859614d5a64456c0d3fbc9b04a84293ce31e)
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index eaeeb9668fcf..5ffda81153f0 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 )