summaryrefslogtreecommitdiff
path: root/unotools/source/config/searchopt.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 13:47:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 13:47:22 +0200
commit732c19b8f39c9bf3c5a23affa27895e3dd3dccbf (patch)
tree23c32c72b36ebd5957547dcae3714df373f2ef6c /unotools/source/config/searchopt.cxx
parent2addd7f17a9d799042ef18992ad29b582de3d6d6 (diff)
Clean up unused functions
Change-Id: Ic1ba88f99c3e0de0761a28b8ff0ca2e9416aecec
Diffstat (limited to 'unotools/source/config/searchopt.cxx')
-rw-r--r--unotools/source/config/searchopt.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx
index 638708221353..8f11a851edac 100644
--- a/unotools/source/config/searchopt.cxx
+++ b/unotools/source/config/searchopt.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
#include <unotools/searchopt.hxx>
#include <tools/debug.hxx>
#include <unotools/configitem.hxx>
@@ -32,15 +35,11 @@ using namespace com::sun::star::i18n;
#define MAX_FLAGS_OFFSET 26
-class SvtSearchOptions_Impl : public ConfigItem
+class SvtSearchOptions_Impl: public ConfigItem, private boost::noncopyable
{
sal_Int32 nFlags;
bool bModified;
- // disallow copy-constructor and assignment-operator for now
- SvtSearchOptions_Impl( const SvtSearchOptions_Impl & );
- SvtSearchOptions_Impl & operator = ( const SvtSearchOptions_Impl & );
-
protected:
bool IsModified() const { return bModified; }
using ConfigItem::SetModified;