summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 13:21:56 +0200
committerNoel Grandin <noel@peralex.com>2016-03-16 13:21:56 +0200
commit732476f2e3c10edf1776171605d8ce6c6b22338f (patch)
tree30f74ceb2c885811690617536aed666dd01cb914 /sc
parent3d264450989cecdc59a2e64f46a0328432ba0d08 (diff)
fixes for "loplugin:constantparam in unotools/"
which only compiled because bool converts to char in C++, sigh. Change-Id: I710bdd78bd93255635189da8e9751bff741a75a2
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/chgviset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/chgviset.cxx b/sc/source/core/tool/chgviset.cxx
index 920927f16492..50a784f8b390 100644
--- a/sc/source/core/tool/chgviset.cxx
+++ b/sc/source/core/tool/chgviset.cxx
@@ -105,7 +105,7 @@ void ScChangeViewSettings::SetTheComment(const OUString& rString)
if(!rString.isEmpty())
{
utl::SearchParam aSearchParam( rString,
- utl::SearchParam::SRCH_REGEXP,false,false,false );
+ utl::SearchParam::SRCH_REGEXP,false );
pCommentSearcher = new utl::TextSearch( aSearchParam, *ScGlobal::pCharClass );
}