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 /unotools/source/config/searchopt.cxx | |
parent | boost::foo_ptr->std::foo_ptr (diff) | |
download | core-01a8bda416d1598f5486f95b6a57d61ff09873ed.tar.gz core-01a8bda416d1598f5486f95b6a57d61ff09873ed.zip |
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'unotools/source/config/searchopt.cxx')
-rw-r--r-- | unotools/source/config/searchopt.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx index c4b0578963ab..bca047c4e270 100644 --- a/unotools/source/config/searchopt.cxx +++ b/unotools/source/config/searchopt.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include <boost/noncopyable.hpp> #include <unotools/searchopt.hxx> #include <tools/debug.hxx> #include <unotools/configitem.hxx> @@ -36,11 +35,14 @@ using namespace com::sun::star::i18n; #define MAX_FLAGS_OFFSET 27 -class SvtSearchOptions_Impl: public ConfigItem, private boost::noncopyable +class SvtSearchOptions_Impl : public ConfigItem { sal_Int32 nFlags; bool bModified; + SvtSearchOptions_Impl(const SvtSearchOptions_Impl&) SAL_DELETED_FUNCTION; + SvtSearchOptions_Impl& operator=(const SvtSearchOptions_Impl&) SAL_DELETED_FUNCTION; + protected: bool IsModified() const { return bModified; } using ConfigItem::SetModified; |