diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-11-19 20:41:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-11-20 07:28:07 +0100 |
commit | 2718e9c1d5779a23bd6587a7e0e55a0281b88745 (patch) | |
tree | 8e751942dd4da37e97489320c9bc33dffb8146d6 /l10ntools/source/merge.cxx | |
parent | fa7dd627c9d74f5bf584caddbdc32c7a0f3543a1 (diff) |
Extended loplugin:ostr: l10ntools
Change-Id: I6c46535568ac6c29784e9336198b51c79c9e3859
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159695
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools/source/merge.cxx')
-rw-r--r-- | l10ntools/source/merge.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index 2ad9d8261fb8..dbf45432ef94 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -70,7 +70,7 @@ ResData::ResData( OString _sGId ) : sGId(std::move( _sGId )) { - sGId = sGId.replaceAll("\r", OString()); + sGId = sGId.replaceAll("\r"_ostr, OString()); } ResData::ResData( OString _sGId, OString _sFilename) @@ -78,7 +78,7 @@ ResData::ResData( OString _sGId, OString _sFilename) sGId(std::move( _sGId )), sFilename(std::move( _sFilename )) { - sGId = sGId.replaceAll("\r", OString()); + sGId = sGId.replaceAll("\r"_ostr, OString()); } @@ -102,7 +102,7 @@ namespace { //DOUBLE VERTICAL LINE instead of || because the translations make their //way into action_names under gtk3 where || is illegal - return u8"\u2016"; + return u8"\u2016"_ostr; } } @@ -219,10 +219,10 @@ MergeDataFile::MergeDataFile( if( bFirstLang && bWithQtz && sEnableReleaseBuild != "TRUE" ) { - aLanguageSet.insert("qtz"); + aLanguageSet.insert("qtz"_ostr); InsertEntry( aActPo.getResourceType(), aActPo.getGroupId(), - aActPo.getLocalId(), "qtz", + aActPo.getLocalId(), "qtz"_ostr, sExText, sExQHText, sExTitle, aActPo.getSourceFile(), false, bCaseSensitive ); |