diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-02-14 20:15:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-19 13:52:30 +0000 |
commit | 742515639168cd35a0c2036a5bf6c46b2a3a554e (patch) | |
tree | b730261a267719fe737315ab375eea88638aa331 /sc/source/core/tool/compiler.cxx | |
parent | 1dace0c3e0972c2bde8db177433b7d095025bcca (diff) |
fdo#38838 ScGlobal::GetRscString() now returns OUString instead of String.
Cleaned up the call sites.
Change-Id: I6c688cecd4f872ed064ccfa3af4b402a779860dc
Reviewed-on: https://gerrit.libreoffice.org/2155
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index f9b9e9da16b8..51fba63a3deb 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -5081,7 +5081,7 @@ void ScCompiler::CreateStringFromExternal(rtl::OUStringBuffer& rBuffer, FormulaT case svExternalName: { const OUString *pStr = pRefMgr->getExternalFileName(t->GetIndex()); - OUString aFileName = pStr ? *pStr : OUString(ScGlobal::GetRscString(STR_NO_NAME_REF)); + OUString aFileName = pStr ? *pStr : ScGlobal::GetRscString(STR_NO_NAME_REF); rBuffer.append(pConv->makeExternalNameStr( aFileName, t->GetString())); } break; |