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

New commits:
commit f11bb8e70363bfac6a01a91a31f8346fb367b0a6
Author: Eike Rathke <er...@redhat.com>
Date:   Tue Aug 23 18:43:49 2016 +0200

    use PushTempTokenWithoutError() instead of PushWithoutError()
    
    ... as the error token was new'ed anyway, which saves yet another copy.
    
    Change-Id: Ia498754b3d1898a04bf1c916185fceb36c115261

diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 055d6d9..9b200d5 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -653,7 +653,7 @@ void ScInterpreter::Push( FormulaToken& r )
                 PushWithoutError( r);
             }
             else
-                PushWithoutError( *(new FormulaErrorToken( nGlobalError)));
+                PushTempTokenWithoutError( new FormulaErrorToken( 
nGlobalError));
         }
         else
             PushWithoutError( r);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to