diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-28 23:51:21 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-29 05:59:15 +0100 |
commit | 951a65923c088a1e19a4073f3c26a3b564a0a922 (patch) | |
tree | 5e7191cc0783df304e5f7f28616dd31ee950a405 /starmath/source/symbol.cxx | |
parent | cb7500ddb8de6c41fca84a0009ffe22240bb1845 (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: I0516dc68cf7d451eafc044be8e50a66d2bddf15f
Reviewed-on: https://gerrit.libreoffice.org/62484
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'starmath/source/symbol.cxx')
-rw-r--r-- | starmath/source/symbol.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index a618d2882b77..cbe3b3b11ac0 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -68,9 +68,7 @@ SmSym& SmSym::operator = (const SmSym& rSymbol) m_aSetName = rSymbol.m_aSetName; m_bPredefined = rSymbol.m_bPredefined; - SmSymbolManager * pSymSetManager = &SM_MOD()->GetSymbolManager(); - if (pSymSetManager) - pSymSetManager->SetModified(true); + SM_MOD()->GetSymbolManager().SetModified(true); return *this; } |