diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-07 20:31:52 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-04-08 09:58:36 +0000 |
commit | f781997ee1dcb61b01b04cc050001e2f46b12dfe (patch) | |
tree | 83be657f44225dc68fd0a47d129ab0a27817273c /connectivity | |
parent | 98d7b02f2b69f2f88a03054183933df7f190017d (diff) |
tdf#94306 replace boost::noncopyable in c...
comphelper, connectivity and cppcanvas.
Replace with C++11 delete copy-constructur
and copy-assignment.
Removed unused boost/noncopyable.hpp includes from
some source files in cppcanvas.
Change-Id: I90780820e21fbfd291ac10c266e7d16616e3a81b
Reviewed-on: https://gerrit.libreoffice.org/23905
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/TTableHelper.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index 875af2157037..63a1c6d869f9 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include <boost/noncopyable.hpp> #include <connectivity/TTableHelper.hxx> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> @@ -55,8 +54,7 @@ namespace { /// helper class for column property change events which holds the OComponentDefinition weak class OTableContainerListener: - public ::cppu::WeakImplHelper< XContainerListener >, - private boost::noncopyable + public ::cppu::WeakImplHelper< XContainerListener > { OTableHelper* m_pComponent; ::std::map< OUString,bool> m_aRefNames; @@ -65,6 +63,9 @@ protected: virtual ~OTableContainerListener(){} public: explicit OTableContainerListener(OTableHelper* _pComponent) : m_pComponent(_pComponent){} + // noncopyable + OTableContainerListener(const OTableContainerListener&) = delete; + const OTableContainerListener& operator=(const OTableContainerListener&) = delete; virtual void SAL_CALL elementInserted( const ::com::sun::star::container::ContainerEvent& /*Event*/ ) throw (RuntimeException, std::exception) override { } |