summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-27 15:08:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-28 11:21:17 +0000
commit48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch)
tree066f8fc9753bdba62f87f205baface6e729857bf /starmath
parentf7d6f3e4e3fda3cd4936880918e2831246634a3e (diff)
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e Reviewed-on: https://gerrit.libreoffice.org/26738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx2
-rw-r--r--starmath/source/mathtype.hxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index a8add3b97762..82a5bc832b19 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -672,7 +672,7 @@ bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
so this special case must be handled in the
character handler case 2:
*/
- if ((nRecord == CHAR) && (!bIsSilent) && (!bOpenString))
+ if ((nRecord == CHAR) && (!bOpenString))
{
bOpenString=true;
nTextStart = rRet.getLength();
diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx
index 49f8b0cfd66d..a47b43e4f453 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -72,7 +72,6 @@ public:
, nCurSize(0)
, nLastSize(0)
, nSpec(0)
- , bIsSilent(false)
, bIsReInterpBrace(false)
, nPostSup(0)
, nPostlSup(0)
@@ -100,7 +99,6 @@ public:
, nCurSize(0)
, nLastSize(0)
, nSpec(0)
- , bIsSilent(false)
, bIsReInterpBrace(false)
, nPostSup(0)
, nPostlSup(0)
@@ -180,7 +178,7 @@ private:
sal_Int16 nCurSize;
sal_Int16 nLastSize;
sal_uInt8 nSpec;
- bool bIsSilent, bIsReInterpBrace;
+ bool bIsReInterpBrace;
OUString sPost;
sal_Int32 nPostSup;
sal_Int32 nPostlSup;