diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-01-28 20:56:22 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-31 07:09:41 +0000 |
commit | 83b9c51803b3acef078892e4f233339e57dd53e7 (patch) | |
tree | aac70e9e1519463d82ef2a95876db7a36268fa12 /starmath/source/unomodel.cxx | |
parent | 3187193a6142b4b1c974ae1e1de572fa74a3c8ee (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/source/unomodel.cxx')
-rw-r--r-- | starmath/source/unomodel.cxx | 2 |
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"; |