diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-08-31 14:40:14 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-31 13:59:06 +0000 |
commit | 574ddaba5315816a5629550a0a12f9c694b79370 (patch) | |
tree | d8d38d550f3870447dfb5b6ba786e2937ddfefe0 /regexp | |
parent | 61eadf2df432ed4f048006b1409046505d9a4e8c (diff) |
Make Regexpr class safer
Make copy constructor and copy operator private
Change-Id: Ifdaff6d74bebb0406432d470c84d221f2c06ba94
Reviewed-on: https://gerrit.libreoffice.org/519
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.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/regexp/inc/regexp/reclass.hxx b/regexp/inc/regexp/reclass.hxx index f61112dbe58b..4be52bbe6503 100644 --- a/regexp/inc/regexp/reclass.hxx +++ b/regexp/inc/regexp/reclass.hxx @@ -357,6 +357,9 @@ 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, |