summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-01-28 20:56:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-31 07:09:41 +0000
commit83b9c51803b3acef078892e4f233339e57dd53e7 (patch)
treeaac70e9e1519463d82ef2a95876db7a36268fa12 /starmath
parent3187193a6142b4b1c974ae1e1de572fa74a3c8ee (diff)
sequence->vector in PrinterOptionsHelper
Change-Id: I643519397a4e714e3407ec0c3a10d329654b9f7d Reviewed-on: https://gerrit.libreoffice.org/21887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/unomodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index c2b6eaf4eaf6..ecb74a617e96 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -75,7 +75,7 @@ SmPrintUIOptions::SmPrintUIOptions()
// create sequence of print UI options
// (Actually IsIgnoreSpacesRight is a parser option. Without it we need only 8 properties here.)
- m_aUIProperties.realloc( nNumProps );
+ m_aUIProperties.resize( nNumProps );
// load the math PrinterOptions into the custom tab
m_aUIProperties[nIdx].Name = "OptionsUIFile";