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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/core/view/printdata.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx index 14727d42e09a..7ed8ae31d016 100644 --- a/sw/source/core/view/printdata.cxx +++ b/sw/source/core/view/printdata.cxx @@ -163,7 +163,7 @@ SwPrintUIOptions::SwPrintUIOptions( // Its just the source code that gets printed ... if (bSwSrcView) { - m_aUIProperties.realloc( 0 ); + m_aUIProperties.clear(); return; } @@ -175,7 +175,7 @@ SwPrintUIOptions::SwPrintUIOptions( // (5 options are not available for Writer-Web) const int nCTLOpts = bCTL ? 1 : 0; const int nNumProps = nCTLOpts + (bWeb ? 15 : 21); - m_aUIProperties.realloc( nNumProps ); + m_aUIProperties.resize( nNumProps ); int nIdx = 0; // load the writer PrinterOptions into the custom tab |