starmath/source/mathmlimport.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit c9ec7105ba173af77fb9eadcdd3f694494664865
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Sat Oct 27 14:48:49 2018 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Oct 27 17:07:00 2018 +0200

    tdf#120703 PVS: variable is assigned values twice successively
    
    V519 The 'aToken.aText' variable is assigned values twice successively.
         Perhaps this is a mistake. Check lines: 1147, 1163.
    
    Change-Id: I9bcb9a302a182932d7b15f25ee64005158d50a46
    Reviewed-on: https://gerrit.libreoffice.org/62422
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index bbcd70739ce6..4cf6eb321f00 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -1161,7 +1161,6 @@ void SmXMLFencedContext_Impl::EndElement()
     SmNodeStack &rNodeStack = GetSmImport().GetNodeStack();
 
     aToken.cMathChar = '\0';
-    aToken.aText = ",";
     aToken.eType = TIDENT;
 
     auto i = rNodeStack.size() - nElementCount;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to