diff options
Diffstat (limited to 'sdext/source/pdfimport/tree/pdfiprocessor.cxx')
-rw-r--r-- | sdext/source/pdfimport/tree/pdfiprocessor.cxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx index b166a3749784..01585e556b99 100644 --- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx +++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx @@ -440,19 +440,11 @@ void PDFIProcessor::drawGlyphLine( const rtl::OUString& rGlyphs, processGlyphLine(); } - CharGlyph aGlyph; + CharGlyph aGlyph(fXPrevTextPosition, fYPrevTextPosition, fPrevTextHeight, fPrevTextWidth, + m_pCurElement, getCurrentContext(), rFontMatrix, rRect, rGlyphs); - aGlyph.setGlyph ( rGlyphs ); - aGlyph.setRect ( rRect ); - aGlyph.setFontMatrix ( rFontMatrix ); - aGlyph.setGraphicsContext ( getCurrentContext() ); - getGCId(getCurrentContext()); - aGlyph.setCurElement( m_pCurElement ); - aGlyph.setYPrevGlyphPosition( fYPrevTextPosition ); - aGlyph.setXPrevGlyphPosition( fXPrevTextPosition ); - aGlyph.setPrevGlyphHeight ( fPrevTextHeight ); - aGlyph.setPrevGlyphWidth ( fPrevTextWidth ); + getGCId(getCurrentContext()); m_GlyphsList.push_back( aGlyph ); |