summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-27 22:58:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-27 22:58:09 +0200
commit4cbd012869f87f68fa5f50e528fda81fcbb8609e (patch)
tree2fb7e6dc095925bb9aeea32de105841af1756334 /sc
parent5af7ca55a3d06ab23df715346c9b24d1333907be (diff)
loplugin:stringconstant
Change-Id: I8d5a1b82e7c552385ed22818e5e1a0a962fff2e4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index f3e0af36d06c..c128183ab26c 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1111,7 +1111,7 @@ bool transformURL(const OUString& rOldURL, OUString& rNewURL, ScDocument* pDoc)
if (nResult & SCA_VALID)
{
OUString aString = aRange.Format(nResult, pDoc, formula::FormulaGrammar::CONV_XL_OOX);
- rNewURL = OUString("#") + aString;
+ rNewURL = "#" + aString;
return true;
}
else
@@ -1120,7 +1120,7 @@ bool transformURL(const OUString& rOldURL, OUString& rNewURL, ScDocument* pDoc)
if(nResult & SCA_VALID)
{
OUString aString = aAddress.Format(nResult, pDoc, formula::FormulaGrammar::CONV_XL_OOX);
- rNewURL = OUString("#") + aString;
+ rNewURL = "#" + aString;
return true;
}
}