summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-04-19 13:55:34 +0200
committerEike Rathke <erack@redhat.com>2017-04-19 13:56:12 +0200
commit88d3d27dcd31993cad8898ff4d49347c46c6a0a6 (patch)
treeb41e5b553901cb020b7a983d0e4fc75fa41c86c1 /sc
parent62f280a1ebc5656fa8587a0afe84a49fa7afc6ac (diff)
remove unnecessary temporary
likely a remnant of (Uni)String to OUString Change-Id: I431723d7c390f1396855f91c26a9b72a417f7dbc
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 3fc28488dc5b..686bb6f389b3 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -3436,7 +3436,7 @@ bool ScCompiler::IsExternalNamedRange( const OUString& rSymbol, bool& rbInvalidE
}
const OUString* pRealName = pRefMgr->getRealRangeName(nFileId, aName);
- maRawToken.SetExternalName(nFileId, pRealName ? *pRealName : OUString(aTmp));
+ maRawToken.SetExternalName(nFileId, pRealName ? *pRealName : aTmp);
maExternalFiles.push_back(nFileId);
return true;
}