From cee0d7a26a5098f6c39ac3ce634632a432402379 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 16 Nov 2011 22:36:26 +0000 Subject: callcatcher: some unused methods --- unotools/inc/unotools/confignode.hxx | 14 -------------- unotools/inc/unotools/configvaluecontainer.hxx | 24 ------------------------ unotools/source/config/confignode.cxx | 22 ---------------------- unotools/source/config/configvaluecontainer.cxx | 8 -------- 4 files changed, 68 deletions(-) (limited to 'unotools') diff --git a/unotools/inc/unotools/confignode.hxx b/unotools/inc/unotools/confignode.hxx index baa812d28d56..f1567a6137e6 100644 --- a/unotools/inc/unotools/confignode.hxx +++ b/unotools/inc/unotools/confignode.hxx @@ -248,12 +248,6 @@ namespace utl ::com::sun::star::uno::Reference< ::com::sun::star::util::XChangesBatch > m_xCommitter; protected: - /** ctor

- */ - OConfigurationTreeRoot( - const ::com::sun::star::uno::Reference< ::com::sun::star::util::XChangesBatch >& _rxRootNode - ); - /** ctor for a readonly node */ OConfigurationTreeRoot( @@ -276,14 +270,6 @@ namespace utl */ OConfigurationTreeRoot() :OConfigurationNode() { } - /** creates a configuration tree for the given path in the given mode - */ - OConfigurationTreeRoot( - const ::comphelper::ComponentContext& i_rContext, - const sal_Char* i_pAsciiNodePath, - const bool i_bUpdatable - ); - /** creates a configuration tree for the given path in the given mode */ OConfigurationTreeRoot( diff --git a/unotools/inc/unotools/configvaluecontainer.hxx b/unotools/inc/unotools/configvaluecontainer.hxx index 99d9ff072efa..589de073f534 100644 --- a/unotools/inc/unotools/configvaluecontainer.hxx +++ b/unotools/inc/unotools/configvaluecontainer.hxx @@ -104,30 +104,6 @@ namespace utl const sal_Int32 _nLevels = -1 ); - /** constructs the object - - @param _rxORB - specifies the service factory which should be used to access the configuration - @param _rAccessSafety - As this class is intented to manipulate objects it does not hold itself (see the various - registerXXX methods), it needs to guard these access for muti threading safety.
- The mutex given here is locked whenever such an access occurs. - @param _rConfigLocation - describes the configurations node path - @param _nAccessFlags - specifies different aspects of the configuration aspect to be created, e.g. it's update mode etc.
- See the CVC_xxx constants for what you can use here. - @param _nLevels - specifies the number of levels to access under the node given by _pConfigLocation - */ - OConfigurationValueContainer( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB, - ::osl::Mutex& _rAccessSafety, - const ::rtl::OUString& _rConfigLocation, - const sal_uInt16 _nAccessFlags = CVC_UPDATE_ACCESS | CVC_LAZY_UPDATE, - const sal_Int32 _nLevels = -1 - ); - /// dtor ~OConfigurationValueContainer(); diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index 264eda0f59ce..b4c574b24de3 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -547,15 +547,6 @@ namespace utl return NULL; } } - //======================================================================== - //= OConfigurationTreeRoot - //======================================================================== - //------------------------------------------------------------------------ - OConfigurationTreeRoot::OConfigurationTreeRoot( const Reference< XChangesBatch >& _rxRootNode ) - :OConfigurationNode( _rxRootNode.get() ) - ,m_xCommitter(_rxRootNode) - { - } //------------------------------------------------------------------------ OConfigurationTreeRoot::OConfigurationTreeRoot( const Reference< XInterface >& _rxRootNode ) @@ -564,19 +555,6 @@ namespace utl { } - //------------------------------------------------------------------------ - OConfigurationTreeRoot::OConfigurationTreeRoot( const ::comphelper::ComponentContext& i_rContext, const sal_Char* i_pAsciiNodePath, const bool i_bUpdatable ) - :OConfigurationNode( lcl_createConfigurationRoot( lcl_getConfigProvider( i_rContext.getLegacyServiceFactory() ), - ::rtl::OUString::createFromAscii( i_pAsciiNodePath ), i_bUpdatable, -1, false ).get() ) - ,m_xCommitter() - { - if ( i_bUpdatable ) - { - m_xCommitter.set( getUNONode(), UNO_QUERY ); - OSL_ENSURE( m_xCommitter.is(), "OConfigurationTreeRoot::OConfigurationTreeRoot: could not create an updatable node!" ); - } - } - //------------------------------------------------------------------------ OConfigurationTreeRoot::OConfigurationTreeRoot( const ::comphelper::ComponentContext& i_rContext, const ::rtl::OUString& i_rNodePath, const bool i_bUpdatable ) :OConfigurationNode( lcl_createConfigurationRoot( lcl_getConfigProvider( i_rContext.getLegacyServiceFactory() ), diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx index 999d3a64fc5f..ad1f196b66d8 100644 --- a/unotools/source/config/configvaluecontainer.cxx +++ b/unotools/source/config/configvaluecontainer.cxx @@ -258,14 +258,6 @@ namespace utl implConstruct( ::rtl::OUString::createFromAscii( _pConfigLocation ), _nAccessFlags, _nLevels ); } - OConfigurationValueContainer::OConfigurationValueContainer( - const Reference< XMultiServiceFactory >& _rxORB, ::osl::Mutex& _rAccessSafety, - const ::rtl::OUString& _rConfigLocation, const sal_uInt16 _nAccessFlags, const sal_Int32 _nLevels ) - :m_pImpl( new OConfigurationValueContainerImpl( _rxORB, _rAccessSafety ) ) - { - implConstruct( _rConfigLocation, _nAccessFlags, _nLevels ); - } - OConfigurationValueContainer::~OConfigurationValueContainer() { delete m_pImpl; -- cgit