From 34cabe837dbb78bf7531c4bab6f50c4764e64cf5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 14 Jul 2014 11:29:02 +0200 Subject: loplugin:unreffun Change-Id: Idc0f3ef53f48b2e77e4cecbcdbbc44a115c6ec2e --- unotools/source/config/configvaluecontainer.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx index 99a2e9710759..3c526e95954c 100644 --- a/unotools/source/config/configvaluecontainer.cxx +++ b/unotools/source/config/configvaluecontainer.cxx @@ -57,13 +57,10 @@ namespace utl void bind( void* _pLocation, const Type& _rType ); - bool isBound( ) const { return ( ltUnbound != eLocationType ) && ( NULL != pLocation ); } const OUString& getPath( ) const { return sRelativePath; } LocationType getLocType( ) const { return eLocationType; } void* getLocation( ) const { return pLocation; } const Type& getDataType( ) const { return aDataType; } - - bool operator == ( const NodeValueAccessor& rhs ) const; }; NodeValueAccessor::NodeValueAccessor( const OUString& _rNodePath ) @@ -73,13 +70,6 @@ namespace utl { } - bool NodeValueAccessor::operator == ( const NodeValueAccessor& rhs ) const - { - return ( sRelativePath == rhs.sRelativePath ) - && ( eLocationType == rhs.eLocationType ) - && ( pLocation == rhs.pLocation ); - } - void NodeValueAccessor::bind( void* _pLocation, const Type& _rType ) { DBG_ASSERT( !isBound(), "NodeValueAccessor::bind: already bound!" ); -- cgit