diff options
Diffstat (limited to 'vcl/generic/print')
-rw-r--r-- | vcl/generic/print/genpspgraphics.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/generic/print/genpspgraphics.cxx b/vcl/generic/print/genpspgraphics.cxx index b806c1d933ba..29c0610c53d1 100644 --- a/vcl/generic/print/genpspgraphics.cxx +++ b/vcl/generic/print/genpspgraphics.cxx @@ -616,6 +616,9 @@ bool PspFontLayout::LayoutText( ImplLayoutArgs& rArgs ) Point aNewPos( 0, 0 ); GlyphItem aPrevItem; rtl_TextEncoding aFontEnc = mrPrinterGfx.GetFontMgr().getFontEncoding( mnFontID ); + + Reserve(rArgs.mnLength); + for(;;) { bool bRightToLeft; |