diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 14:53:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-20 09:31:12 +0200 |
commit | 78f6d5f0913f0ab16dd3396658b6bb463a9ba857 (patch) | |
tree | 275e3f8fe09483386159cb843d0be75f1c35f9dd /starmath | |
parent | cd210280162a52574f0d72f13e2a8e9fc922a5b9 (diff) |
cid#1078821 Dereference before null check
Change-Id: I656df01fc38357de2073c36926c850eb87fed967
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index 9efdae0b1ee2..dbde76c43f17 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -752,7 +752,7 @@ void SmXMLExport::ExportExpression(const SmNode *pNode, int nLevel, // #i115443: nodes of type expression always need to be grouped with mrow statement if (!bNoMrowContainer && - (nSize > 1 || (pNode && pNode->GetType() == NEXPRESSION))) + (nSize > 1 || pNode->GetType() == NEXPRESSION)) pRow = new SvXMLElementExport(*this, XML_NAMESPACE_MATH, XML_MROW, sal_True, sal_True); for (sal_uInt16 i = 0; i < nSize; i++) |