[PATCH 6/8] utl: delete unused NodeValueAccessor::bind() method

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Feb 8 08:57:43 PST 2012


---
 unotools/source/config/configvaluecontainer.cxx |   10 ----------
 unusedcode.easy                                 |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index 8a0fdcd..8e5d2bd 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -68,7 +68,6 @@ namespace utl
         NodeValueAccessor( const ::rtl::OUString& _rNodePath );
 
         void bind( void* _pLocation, const Type& _rType );
-        void bind( Any* _pLocation );
 
         bool                    isBound( ) const        { return ( ltUnbound != eLocationType ) && ( NULL != pLocation ); }
         const ::rtl::OUString&  getPath( ) const        { return sRelativePath; }
@@ -103,15 +102,6 @@ namespace utl
         aDataType = _rType;
     }
 
-    void NodeValueAccessor::bind( Any* _pLocation )
-    {
-        DBG_ASSERT( !isBound(), "NodeValueAccessor::bind: already bound!" );
-
-        eLocationType = ltAnyInstance;
-        pLocation = _pLocation;
-        aDataType = ::getCppuType( _pLocation );
-    }
-
     #ifndef UNX
     static
     #endif
diff --git a/unusedcode.easy b/unusedcode.easy
index a7b1aa3..53c1aea 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1527,7 +1527,6 @@ ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<int> const&)
 ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&)
 ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > const&)
 ucbhelper::SimpleCertificateValidationRequest::getResponse() const
-utl::NodeValueAccessor::bind(com::sun::star::uno::Any*)
 utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const
 utl::OConfigurationValueContainer::getServiceFactory() const
 utl::TransliterationWrapper::compareSubstring(String const&, int, int, String const&, int, int) const
-- 
1.7.9



More information about the LibreOffice mailing list