summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/view/printdata.cxx4
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