summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/tree/writertreevisiting.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/tree/writertreevisiting.cxx')
-rw-r--r--sdext/source/pdfimport/tree/writertreevisiting.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 7b448b156c8f..e54d41281fde 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -623,7 +623,7 @@ void WriterXmlOptimizer::visit( PageElement& elem, const std::list< Element* >::
// move element to current paragraph
if( ! pCurPara ) // new paragraph, insert one
{
- pCurPara = m_rProcessor.getElementFactory()->createParagraphElement( NULL );
+ pCurPara = ElementFactory::createParagraphElement( NULL );
// set parent
pCurPara->Parent = &elem;
//insert new paragraph before current element
@@ -1208,7 +1208,7 @@ void WriterXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::
// no paragraph or other elements before the first paragraph
if( ! pFirstPara )
{
- pFirstPara = m_rProcessor.getElementFactory()->createParagraphElement( NULL );
+ pFirstPara = ElementFactory::createParagraphElement( NULL );
pFirstPara->Parent = &elem;
elem.Children.push_front( pFirstPara );
}