summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-10-27 14:48:49 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2018-10-27 17:07:00 +0200
commitc9ec7105ba173af77fb9eadcdd3f694494664865 (patch)
tree26836a774e104813498e3096ffd121984ddb2029 /starmath
parenta8cdc839d7639348d248c0b4bd98d4f29931f984 (diff)
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@collabora.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlimport.cxx1
1 files changed, 0 insertions, 1 deletions
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;