[Libreoffice-commits] core.git: sc/source svx/source
Noel Grandin
noel at peralex.com
Wed Mar 16 11:24:06 UTC 2016
sc/source/core/tool/chgviset.cxx | 2 +-
svx/source/dialog/ctredlin.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 732476f2e3c10edf1776171605d8ce6c6b22338f
Author: Noel Grandin <noel at peralex.com>
Date: Wed Mar 16 13:21:56 2016 +0200
fixes for "loplugin:constantparam in unotools/"
which only compiled because bool converts to char in C++, sigh.
Change-Id: I710bdd78bd93255635189da8e9751bff741a75a2
diff --git a/sc/source/core/tool/chgviset.cxx b/sc/source/core/tool/chgviset.cxx
index 920927f..50a784f 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 );
}
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index ba71974..839159e 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -985,7 +985,7 @@ void SvxTPFilter::DeactivatePage()
pRedlinTable->SetFilterComment(IsComment());
utl::SearchParam aSearchParam( m_pEdComment->GetText(),
- utl::SearchParam::SRCH_REGEXP,false,false,false );
+ utl::SearchParam::SRCH_REGEXP,false );
pRedlinTable->SetCommentParams(&aSearchParam);
More information about the Libreoffice-commits
mailing list