[Libreoffice-commits] .: Branch 'feature/killsdf' - regexp/inc
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Aug 31 06:59:24 PDT 2012
regexp/inc/regexp/reclass.hxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 574ddaba5315816a5629550a0a12f9c694b79370
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date: Fri Aug 31 14:40:14 2012 +0200
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 at suse.com>
Tested-by: Andras Timar <atimar at suse.com>
diff --git a/regexp/inc/regexp/reclass.hxx b/regexp/inc/regexp/reclass.hxx
index f61112d..4be52bb 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,
More information about the Libreoffice-commits
mailing list