From 3b48b3cc92c93911f61535d22a2c8731574ee51a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Sep 2016 11:24:43 +0200 Subject: loplugin:singlevalfields in sc..vcl Change-Id: I68752a3daf5ddd8581c07759b8be2c1dabbb9258 --- starmath/source/mathtype.cxx | 1 + starmath/source/mathtype.hxx | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'starmath') diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 5fec1eb790f4..05af492aedec 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -1820,6 +1820,7 @@ void MathType::HandleAlign(sal_uInt8 nHorAlign, sal_uInt8 /*nVAlign*/, int &rSet * indicator by mathtype file format*/ bool MathType::HandleSize(sal_Int16 nLstSize,sal_Int16 nDefSize, int &rSetSize) { + const sal_Int16 nDefaultSize = 12; bool bRet=false; if (nLstSize < 0) { diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx index 1bf66020cc0a..8e25570383ec 100644 --- a/starmath/source/mathtype.hxx +++ b/starmath/source/mathtype.hxx @@ -66,7 +66,6 @@ public: , nVAlign(0) , nPendingAttributes(0) , nInsertion(0) - , nDefaultSize(12) , nLSize(0) , nDSize(0) , nCurSize(0) @@ -93,7 +92,6 @@ public: , nVAlign(0) , nPendingAttributes(0) , nInsertion(0) - , nDefaultSize(12) , nLSize(0) , nDSize(0) , nCurSize(0) @@ -172,7 +170,6 @@ private: sal_uLong nInsertion; std::vector aSizeTable; - sal_Int16 nDefaultSize; sal_Int16 nLSize; sal_Int16 nDSize; sal_Int16 nCurSize; -- cgit