diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-13 10:11:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-04-13 11:19:04 +0000 |
commit | 97abbec95665b43a9a09e10a0fb31854cdbd5c0d (patch) | |
tree | b6917d80775c411a5480febd77b89fb256203b6a /stoc/source/implementationregistration/implreg.cxx | |
parent | 9a2ff36b51f86ca3ade8093d7698314c0d3db6a6 (diff) |
tdf#94306 replace boost::noncopyable in stoc to xmlsec..
Replace with C++11 delete copy-constructur
and copy-assignment.
Remove boost/noncopyable.hpp includes.
Add missing default ctors.
With this commit there should be no users
of boost::noncopyable left.
Change-Id: I6b1e47824912a6a80cc3f00f34938ebc048d8975
Reviewed-on: https://gerrit.libreoffice.org/24051
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'stoc/source/implementationregistration/implreg.cxx')
-rw-r--r-- | stoc/source/implementationregistration/implreg.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index 45d699f59131..438ee792e1e9 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -21,7 +21,6 @@ #include <string.h> #include <list> -#include <boost/noncopyable.hpp> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/weak.hxx> #include <cppuhelper/implbase.hxx> @@ -66,7 +65,7 @@ using namespace osl; namespace { -struct StringPool: private boost::noncopyable +struct StringPool { OUString slash_UNO_slash_REGISTRY_LINKS; OUString slash_IMPLEMENTATIONS; @@ -92,6 +91,8 @@ struct StringPool: private boost::noncopyable , com_sun_star_registry_SimpleRegistry("com.sun.star.registry.SimpleRegistry" ) , Registry( "Registry" ) {} + StringPool(const StringPool&) = delete; + StringPool& operator=(const StringPool&) = delete; }; const StringPool &spool() |