[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Wed Apr 19 11:56:35 UTC 2017


 sc/source/core/tool/compiler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 88d3d27dcd31993cad8898ff4d49347c46c6a0a6
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Apr 19 13:55:34 2017 +0200

    remove unnecessary temporary
    
    likely a remnant of (Uni)String to OUString
    
    Change-Id: I431723d7c390f1396855f91c26a9b72a417f7dbc

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;
 }


More information about the Libreoffice-commits mailing list