summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 13:53:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 13:55:33 +0200
commitcf029c125d188c22b87590f1d58d3866f9ea796a (patch)
tree66fd2e18364f58f3618783d61af4b070f1c181ca /sc/source/ui/optdlg
parent8437b42cff4ef9aeb3428432dac77851885b13e3 (diff)
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: Ie4e62535848718ca66a1fa977b09891e91ee7421
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 3f0e9e8daf68..d172fb911854 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -287,7 +287,7 @@ void ScTpUserLists::UpdateEntries( size_t nList )
for ( size_t i=0; i<nSubCount; i++ )
{
if ( i!=0 )
- aEntryListStr += OUString(CR);
+ aEntryListStr += OUStringLiteral1<CR>();
aEntryListStr += pList->GetSubStr(i);
}
@@ -309,7 +309,7 @@ void ScTpUserLists::MakeListStr( OUString& rListStr )
{
OUString aString = comphelper::string::strip(rListStr.getToken(i, LF), ' ');
aStr += aString;
- aStr += OUString(cDelimiter);
+ aStr += OUStringLiteral1<cDelimiter>();
}
aStr = comphelper::string::strip(aStr, cDelimiter);