summaryrefslogtreecommitdiff
path: root/regexp
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2012-09-02 21:10:35 +0200
committerAndras Timar <atimar@suse.com>2012-09-03 10:48:07 +0000
commit42a2fb1c24750dde53b737d1fb45e2bb7286a3f2 (patch)
treea97d5abd1512797fb5434f098e3ba280206bf26b /regexp
parentdd83185b004e08fe0b291ede225d0e93be27c819 (diff)
Make interface for PoEntry
Use composition insted of inheritance Make all necessary method. Make header file clear Make header file clear Plus cleanup. Change-Id: Idfcc7a4a4f51b402ec86a9685e8ad9fdb23fea71 Reviewed-on: https://gerrit.libreoffice.org/530 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'regexp')
-rw-r--r--regexp/inc/regexp/reclass.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/regexp/inc/regexp/reclass.hxx b/regexp/inc/regexp/reclass.hxx
index 4be52bbe6503..ce4f50ef3b7b 100644
--- a/regexp/inc/regexp/reclass.hxx
+++ b/regexp/inc/regexp/reclass.hxx
@@ -33,6 +33,7 @@
#include <com/sun/star/util/SearchOptions.hpp>
#include <sal/types.h>
#include <com/sun/star/i18n/XExtendedTransliteration.hpp>
+#include <boost/noncopyable.hpp>
#if defined REGEXP_DLLIMPLEMENTATION
#define REGEXP_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
@@ -295,7 +296,7 @@ typedef union
} register_info_type;
-class REGEXP_DLLPUBLIC Regexpr
+class REGEXP_DLLPUBLIC Regexpr: private boost::noncopyable
{
::com::sun::star::uno::Reference<
::com::sun::star::i18n::XExtendedTransliteration > translit;
@@ -357,9 +358,6 @@ class REGEXP_DLLPUBLIC Regexpr
sal_Bool iswordend(const sal_Unicode *d, sal_Unicode *string, sal_Int32 ssize);
void set_list_bit(sal_Unicode c, sal_Unicode *b);
- Regexpr(const Regexpr&);
- Regexpr& operator=(const Regexpr&);
-
public:
// constructors
Regexpr( const ::com::sun::star::util::SearchOptions & rOptions,