diff options
-rw-r--r-- | starmath/source/mathtype.cxx | 14 | ||||
-rw-r--r-- | starmath/source/mathtype.hxx | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index f38791ce618b..19c4deb1e596 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -25,13 +25,13 @@ void MathType::Init() { //These are the default MathType sizes - aSizeTable[0]=12; - aSizeTable[1]=8; - aSizeTable[2]=6; - aSizeTable[3]=24; - aSizeTable[4]=10; - aSizeTable[5]=12; - aSizeTable[6]=12; + aSizeTable.push_back(12); + aSizeTable.push_back(8); + aSizeTable.push_back(6); + aSizeTable.push_back(24); + aSizeTable.push_back(10); + aSizeTable.push_back(12); + aSizeTable.push_back(12); /* These are the default MathType italic/bold settings If mathtype is changed diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx index 9876710c5041..4e08cd5719e2 100644 --- a/starmath/source/mathtype.hxx +++ b/starmath/source/mathtype.hxx @@ -177,7 +177,7 @@ private: int nPendingAttributes; sal_uLong nInsertion; - sal_Int16 aSizeTable[7]; + std::vector<sal_Int16> aSizeTable; sal_Int16 nDefaultSize; sal_Int16 nLSize; sal_Int16 nDSize; |