[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Thu Mar 10 15:04:35 UTC 2016
sc/source/core/data/table6.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 069e92f5ccb7b8601e9fa8de4d3ec9639afa1ea6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Mar 10 16:04:08 2016 +0100
loplugin:stringconstant
Change-Id: Ib5883379db40a0685d75a3573ed91a2c440bb102
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index 1cef849..deb8fc4 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -728,7 +728,7 @@ bool ScTable::SearchAndReplace(
css::util::SearchOptions2 aSearchOptions = rSearchItem.GetSearchOptions();
aSearchOptions.Locale = *ScGlobal::GetLocale();
- if (aSearchOptions.searchString.isEmpty() || ( rSearchItem.GetRegExp() && aSearchOptions.searchString.equals("^$") ) )
+ if (aSearchOptions.searchString.isEmpty() || ( rSearchItem.GetRegExp() && aSearchOptions.searchString == "^$" ) )
{
// Search for empty cells.
return SearchAndReplaceEmptyCells(rSearchItem, rCol, rRow, rMark, rMatchedRanges, rUndoStr, pUndoDoc);
More information about the Libreoffice-commits
mailing list