From 88d3d27dcd31993cad8898ff4d49347c46c6a0a6 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 19 Apr 2017 13:55:34 +0200 Subject: remove unnecessary temporary likely a remnant of (Uni)String to OUString Change-Id: I431723d7c390f1396855f91c26a9b72a417f7dbc --- sc/source/core/tool/compiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') 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; } -- cgit