sc/source/core/data/table6.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 069e92f5ccb7b8601e9fa8de4d3ec9639afa1ea6
Author: Stephan Bergmann <sberg...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to