diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:54:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:45 +0000 |
commit | 01a8bda416d1598f5486f95b6a57d61ff09873ed (patch) | |
tree | c37934d13308426d22599f63bf8666305a6b1f80 /configmgr/source/components.hxx | |
parent | a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (diff) |
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'configmgr/source/components.hxx')
-rw-r--r-- | configmgr/source/components.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configmgr/source/components.hxx b/configmgr/source/components.hxx index a545914bef19..6dd7d1d3ec5c 100644 --- a/configmgr/source/components.hxx +++ b/configmgr/source/components.hxx @@ -23,9 +23,9 @@ #include <sal/config.h> #include <map> +#include <memory> #include <set> -#include <boost/noncopyable.hpp> #include <com/sun/star/beans/Optional.hpp> #include <com/sun/star/uno/Reference.hxx> #include <rtl/ref.hxx> @@ -50,7 +50,7 @@ class Node; class Partial; class RootAccess; -class Components: private boost::noncopyable { +class Components { public: static Components & getSingleton( com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > @@ -105,6 +105,9 @@ public: getExternalValue(OUString const & descriptor); private: + Components(const Components&) SAL_DELETED_FUNCTION; + Components& operator=(const Components&) SAL_DELETED_FUNCTION; + typedef void FileParser( OUString const &, int, Data &, Partial const *, Modifications *, Additions *); |