[Libreoffice-commits] core.git: starmath/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Oct 27 15:07:22 UTC 2018
starmath/source/mathmlimport.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit c9ec7105ba173af77fb9eadcdd3f694494664865
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Sat Oct 27 14:48:49 2018 +0200
Commit: Mike Kaganski <mike.kaganski at 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.kaganski at 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;
More information about the Libreoffice-commits
mailing list