sc/source/core/tool/address.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 742060f74ad8249e8412af5e6562d958a1d8d4cd Author: Eike Rathke <[email protected]> Date: Thu Sep 4 11:38:40 2014 +0200 eliminate superfluous temporary string Change-Id: Ie58701754c7be68ba5a9109153312ed152ea293f diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx index ef3baad..6a37952 100644 --- a/sc/source/core/tool/address.cxx +++ b/sc/source/core/tool/address.cxx @@ -1744,9 +1744,7 @@ OUString ScAddress::Format(sal_uInt16 nFlags, const ScDocument* pDoc, if( nFlags & SCA_TAB_3D ) { OUString aTabName, aDocName; - OUString aTmp; - pDoc->GetName(nTab, aTmp); - aTabName = aTmp; // TODO: remove use of String here. + pDoc->GetName(nTab, aTabName); // External Reference, same as in ScCompiler::MakeTabStr() if( aTabName[0] == '\'' ) { // "'Doc'#Tab" _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
