summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-26 15:03:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 09:45:57 +0000
commitd6100ba273e7d73cc4b00a378ce5bad49559943b (patch)
treea7b9fc6b1adb299ff2b16ffa428cd254dbc0d51a /ucbhelper
parent874966bd304d0ef5e6cb9cf7b60e6240a37d70b3 (diff)
callcatcher: update list
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/inc/ucbhelper/contentbroker.hxx16
-rw-r--r--ucbhelper/source/client/contentbroker.cxx7
2 files changed, 2 insertions, 21 deletions
diff --git a/ucbhelper/inc/ucbhelper/contentbroker.hxx b/ucbhelper/inc/ucbhelper/contentbroker.hxx
index fe883efe1354..dc44ebf0c22c 100644
--- a/ucbhelper/inc/ucbhelper/contentbroker.hxx
+++ b/ucbhelper/inc/ucbhelper/contentbroker.hxx
@@ -29,6 +29,7 @@
#ifndef _UCBHELPER_CONTENTBROKER_HXX
#define _UCBHELPER_CONTENTBROKER_HXX
+#include <boost/noncopyable.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.h>
@@ -58,16 +59,13 @@ class ContentBroker_Impl;
* be used to initialize and deinitialize the Broker and to access its
* interfaces directly.
*/
-class UCBHELPER_DLLPUBLIC ContentBroker
+class UCBHELPER_DLLPUBLIC ContentBroker : private boost::noncopyable
{
ContentBroker_Impl* m_pImpl;
// The "one and only" Broker.
static ContentBroker* m_pTheBroker;
private:
- UCBHELPER_DLLPRIVATE ContentBroker( const ContentBroker& ); // n.i.
- UCBHELPER_DLLPRIVATE ContentBroker& operator=( const ContentBroker& ); // n.i.
-
/** Constructor.
*
* @param rxSMgr is a Service Manager.
@@ -83,16 +81,6 @@ private:
const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Any >& rArguments );
- /** Constructor.
- *
- * @param rxSMgr is a Service Manager.
- * @param rData are the data for the for the content providers for
- * the new UCB.
- */
- UCBHELPER_DLLPRIVATE ContentBroker( const ::com::sun::star::uno::Reference<
- ::com::sun::star::lang::XMultiServiceFactory >& rSMgr,
- const ContentProviderDataList & rData );
-
protected:
/**
* Destructor.
diff --git a/ucbhelper/source/client/contentbroker.cxx b/ucbhelper/source/client/contentbroker.cxx
index 9b5289ace86a..eb18dc75edb6 100644
--- a/ucbhelper/source/client/contentbroker.cxx
+++ b/ucbhelper/source/client/contentbroker.cxx
@@ -128,13 +128,6 @@ ContentBroker::ContentBroker( const Reference< XMultiServiceFactory >& rSMgr,
}
//=========================================================================
-ContentBroker::ContentBroker( const Reference< XMultiServiceFactory >& rSMgr,
- const ContentProviderDataList & rData )
-{
- m_pImpl = new ContentBroker_Impl( rSMgr, rData );
-}
-
-//=========================================================================
ContentBroker::~ContentBroker()
{
delete m_pImpl;