[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed May 27 13:58:38 PDT 2015
sc/source/filter/xcl97/xcl97rec.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4cbd012869f87f68fa5f50e528fda81fcbb8609e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 27 22:58:09 2015 +0200
loplugin:stringconstant
Change-Id: I8d5a1b82e7c552385ed22818e5e1a0a962fff2e4
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index f3e0af3..c128183 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;
}
}
More information about the Libreoffice-commits
mailing list