summaryrefslogtreecommitdiff
path: root/regexp
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@documentfoundation.org>2012-01-02 15:58:10 -0200
committerLuboš Luňák <l.lunak@suse.cz>2012-01-02 19:17:17 +0100
commit85d1ce27ad9ce7a3740bd8bbbaf1d3abe643ba10 (patch)
tree9c27a22d1d2ccb1bd78658ee4152c30ea4a70137 /regexp
parent829db12d7e3e93b4a44f79b39a0a9f0630439109 (diff)
Fix for fdo43460 Part XXVII getLength() to isEmpty()
Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
Diffstat (limited to 'regexp')
-rw-r--r--regexp/source/reclass.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexp/source/reclass.cxx b/regexp/source/reclass.cxx
index ea717b95edda..7e051fab7742 100644
--- a/regexp/source/reclass.cxx
+++ b/regexp/source/reclass.cxx
@@ -755,7 +755,7 @@ Regexpr::Regexpr( const ::com::sun::star::util::SearchOptions & rOptions,
}
if ( rOptions.searchString == NULL ||
- rOptions.searchString.getLength() <= 0) {
+ rOptions.searchString.isEmpty()) {
return;
}