summaryrefslogtreecommitdiffstats
path: root/starmath/source/mathtype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathtype.cxx')
-rw-r--r--starmath/source/mathtype.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 819015fd5b9c..2ed0271899da 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -681,7 +681,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
bOpenString=true;
nTextStart = rRet.getLength();
}
- else if ((nRecord != CHAR) && (bOpenString))
+ else if ((nRecord != CHAR) && bOpenString)
{
bOpenString=false;
if ((rRet.getLength() - nTextStart) > 1)
@@ -2889,7 +2889,7 @@ bool MathType::HandleChar(sal_Int32 &rTextStart, int &rSetSize, int nLevel,
nPostSup = nPostlSup = 0;
int nOriglen=rRet.getLength()-rTextStart;
rRet += " {"; // #i24340# make what would be "vec {A}_n" become "{vec {A}}_n"
- if ((!bSilent) && ((nOriglen) > 1))
+ if ((!bSilent) && (nOriglen > 1))
rRet += "\"";
bRet = HandleRecords( nLevel+1, nSelector, nVariation );
if (!bSilent)