diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-09 09:13:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-09 09:23:10 +0100 |
commit | 20de64b70e885b221317cf2a021829bc575d269c (patch) | |
tree | 82161740041406e05024c1b385fea6cdbabf9093 /unotools | |
parent | e54fd4b67db9dde9a36fe2ffd5fb4fde3d490c3b (diff) |
callcatcher: various unused code
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/configvaluecontainer.hxx | 18 | ||||
-rw-r--r-- | unotools/source/config/configvaluecontainer.cxx | 10 |
2 files changed, 0 insertions, 28 deletions
diff --git a/unotools/inc/unotools/configvaluecontainer.hxx b/unotools/inc/unotools/configvaluecontainer.hxx index ed336373f703..99d9ff072efa 100644 --- a/unotools/inc/unotools/configvaluecontainer.hxx +++ b/unotools/inc/unotools/configvaluecontainer.hxx @@ -139,9 +139,6 @@ namespace utl <p>Usually, in your derived class you simply add a member of the correct type of the configuration value, and then call this method with the address of this member.</p> - <p>If the value you want to access may be <NULL/> at runtime, and if you want to recognize such - <NULL/> values, you may consider using <method>registerNullValueExchangeLocation</method>.</p> - @param _pRelativePathAscii is a relative (ASCII) path of the node which should be "mirrored" into the accessor. @param _pContainer @@ -155,21 +152,6 @@ namespace utl const ::com::sun::star::uno::Type& _rValueType ); - /** registers a data accessor of an arbitrary type. - - <p>Usually, in your derived class you simply add a member of type <type scope="com.sun.star.uno">Any</type>, - and then call this method with the address of this member.</p> - - @param _pRelativePathAscii - is a relative (ASCII) path of the node which should be "mirrored" into the accessor. - @param _pContainer - points to the Any you want to hold the value - */ - void registerNullValueExchangeLocation( - const sal_Char* _pRelativePathAscii, - ::com::sun::star::uno::Any* _pContainer - ); - public: /** reads the configuration data diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx index a7fc30699218..999d3a64fc5f 100644 --- a/unotools/source/config/configvaluecontainer.cxx +++ b/unotools/source/config/configvaluecontainer.cxx @@ -322,16 +322,6 @@ namespace utl implRegisterExchangeLocation( aNewAccessor ); } - void OConfigurationValueContainer::registerNullValueExchangeLocation( const sal_Char* _pRelativePath, Any* _pContainer ) - { - // build an accessor for this container - NodeValueAccessor aNewAccessor( ::rtl::OUString::createFromAscii( _pRelativePath ) ); - aNewAccessor.bind( _pContainer ); - - // insert it into our structure - implRegisterExchangeLocation( aNewAccessor ); - } - void OConfigurationValueContainer::read( ) { std::for_each( |