summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-16 22:36:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-17 23:04:10 +0000
commitcee0d7a26a5098f6c39ac3ce634632a432402379 (patch)
tree7db7031733d238a62e32bd233a2f796aad487118 /unotools
parentdca04e236193db7de908aad746fd4539e78eb428 (diff)
callcatcher: some unused methods
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/confignode.hxx14
-rw-r--r--unotools/inc/unotools/configvaluecontainer.hxx24
-rw-r--r--unotools/source/config/confignode.cxx22
-rw-r--r--unotools/source/config/configvaluecontainer.cxx8
4 files changed, 0 insertions, 68 deletions
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<p/>
- */
- OConfigurationTreeRoot(
- const ::com::sun::star::uno::Reference< ::com::sun::star::util::XChangesBatch >& _rxRootNode
- );
-
/** ctor for a readonly node
*/
OConfigurationTreeRoot(
@@ -280,14 +274,6 @@ namespace utl
*/
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(
- const ::comphelper::ComponentContext& i_rContext,
const ::rtl::OUString& i_rNodePath,
const bool i_bUpdatable
);
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.<br/>
- 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.<br/>
- 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 <arg>_pConfigLocation</arg>
- */
- 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 )
@@ -565,19 +556,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() ),
i_rNodePath, i_bUpdatable, -1, false ).get() )
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;