diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 11:24:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 11:30:42 +0200 |
commit | 3b48b3cc92c93911f61535d22a2c8731574ee51a (patch) | |
tree | 2602c98df9d414d803e94bf9f80780d4395b8d8f /starmath | |
parent | b79b5e0df6dc5a0ba18054b0503d6fa804b69f02 (diff) |
loplugin:singlevalfields in sc..vcl
Change-Id: I68752a3daf5ddd8581c07759b8be2c1dabbb9258
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 1 | ||||
-rw-r--r-- | starmath/source/mathtype.hxx | 3 |
2 files changed, 1 insertions, 3 deletions
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<sal_Int16> aSizeTable; - sal_Int16 nDefaultSize; sal_Int16 nLSize; sal_Int16 nDSize; sal_Int16 nCurSize; |