summaryrefslogtreecommitdiff
path: root/stoc/source/implementationregistration
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/implementationregistration
parentd59fe933fe3ecabdc80737b72683923fc5bcae0e (diff)
Use boost::noncopyable
Change-Id: I9cba1299c54f196a5a7b35384f4c15bbbea273bb
Diffstat (limited to 'stoc/source/implementationregistration')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 8a53877eb40b..3174547fe2d2 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -21,6 +21,7 @@
#include <string.h>
#include <list>
+#include <boost/noncopyable.hpp>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/implbase3.hxx>
@@ -64,7 +65,7 @@ using namespace osl;
namespace {
-struct StringPool
+struct StringPool: private boost::noncopyable
{
OUString slash_UNO_slash_REGISTRY_LINKS;
OUString slash_IMPLEMENTATIONS;
@@ -90,8 +91,6 @@ struct StringPool
, com_sun_star_registry_SimpleRegistry("com.sun.star.registry.SimpleRegistry" )
, Registry( "Registry" )
{}
-private:
- StringPool( const StringPool & );
};
const StringPool &spool()