summaryrefslogtreecommitdiff
path: root/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-02 18:22:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-03 08:20:19 +0200
commit5cd46e2b3b8bbc81aca4d45717be05d2424a6c59 (patch)
tree139996fe55e04646a58521bf41ee646d8ba15199 /stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
parentd59fe933fe3ecabdc80737b72683923fc5bcae0e (diff)
Use boost::noncopyable
Change-Id: I9cba1299c54f196a5a7b35384f4c15bbbea273bb
Diffstat (limited to 'stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx')
-rw-r--r--stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
index f83ccbf5d1ff..8c9ea5b9d01a 100644
--- a/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
+++ b/stoc/source/uriproc/VndSunStarPkgUrlReferenceFactory.cxx
@@ -20,6 +20,7 @@
#include "stocservices.hxx"
+#include "boost/noncopyable.hpp"
#include "com/sun/star/lang/XServiceInfo.hpp"
#include "com/sun/star/uno/Exception.hpp"
#include "com/sun/star/uno/Reference.hxx"
@@ -44,8 +45,10 @@
namespace {
-class Factory: public cppu::WeakImplHelper2<
- css::lang::XServiceInfo, css::uri::XVndSunStarPkgUrlReferenceFactory >
+class Factory:
+ public cppu::WeakImplHelper2<
+ css::lang::XServiceInfo, css::uri::XVndSunStarPkgUrlReferenceFactory>,
+ private boost::noncopyable
{
public:
explicit Factory(
@@ -67,9 +70,6 @@ public:
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
- Factory(Factory &); // not implemented
- void operator =(Factory); // not implemented
-
virtual ~Factory() {}
css::uno::Reference< css::uno::XComponentContext > m_context;