diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-08 14:58:51 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-04-08 17:42:57 +0000 |
commit | 922ee9a9da62febfe38a7780b11cf0d7ea0d5685 (patch) | |
tree | c9e59d34db8a32b17894991b6f377101990bc7fe /desktop/source/migration/services/jvmfwk.cxx | |
parent | 25934decf8bfd94506bccd48ac66be9d7eb4dce2 (diff) |
tdf#94306 replace boost::noncopyable in d...
dbaccess, desktop and drawinglayer.
Replace with C++11 delete copy-constructur
and copy-assignment.
Nothing special, only one unused include in
dbaccess/source/filter/xml/xmlfilter.cxx.
Change-Id: Iebabbc658215162450d4caf08d4fb2f116c456d9
Reviewed-on: https://gerrit.libreoffice.org/23918
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'desktop/source/migration/services/jvmfwk.cxx')
-rw-r--r-- | desktop/source/migration/services/jvmfwk.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx index 8be315f15de7..02d26b3a303d 100644 --- a/desktop/source/migration/services/jvmfwk.cxx +++ b/desktop/source/migration/services/jvmfwk.cxx @@ -27,7 +27,6 @@ #include <rtl/bootstrap.hxx> #include <sal/types.h> #include <sal/config.h> -#include <boost/noncopyable.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/WrappedTargetException.hpp> @@ -58,12 +57,14 @@ using namespace com::sun::star::configuration::backend; namespace migration { -class CJavaInfo: private boost::noncopyable +class CJavaInfo { public: JavaInfo* pData; CJavaInfo(); ~CJavaInfo(); + CJavaInfo(const CJavaInfo&) = delete; + const CJavaInfo& operator=(const CJavaInfo&) = delete; operator JavaInfo* () const { return pData;} }; |