Kaydet (Commit) c7069898 authored tarafından Miklos Vajna's avatar Miklos Vajna

DOCX drawingML shape import: no need to add TextFrames to the drawpage

As (not) done for the VML import in Drawing::createAndInsertXShape()
already.

Change-Id: Ib4eac941a46e09df6b5363e8c7eeacc2e6dbac6d
üst 49c1964b
...@@ -508,7 +508,8 @@ Reference< XShape > Shape::createAndInsert( ...@@ -508,7 +508,8 @@ Reference< XShape > Shape::createAndInsert(
if( xNamed.is() ) if( xNamed.is() )
xNamed->setName( msName ); xNamed->setName( msName );
} }
rxShapes->add( mxShape ); if (aServiceName != "com.sun.star.text.TextFrame")
rxShapes->add( mxShape );
if ( mbHidden || mbHiddenMasterShape ) if ( mbHidden || mbHiddenMasterShape )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment