Kaydet (Commit) 0a8de8d9 authored tarafından Noel Power's avatar Noel Power

Revert "(reworked )reorg. code a little so ole controls are catered for wrt fdo#49430"

This reverts commit da81525e.
üst 112d94c6
......@@ -614,6 +614,12 @@ Reference< XShape > VmlDrawing::createAndInsertClientXShape( const ::oox::vml::S
getBaseFilter().getVbaProject().registerMacroAttacher( xAttacher );
}
}
if ( !pClientData->maAnchor.isEmpty() )
{
ShapeAnchor aAnchor( *this );
aAnchor.importVmlAnchor( pClientData->maAnchor );
aAnchor.applyToXShape( xShape );
}
return xShape;
}
}
......@@ -631,12 +637,6 @@ void VmlDrawing::notifyXShapeInserted( const Reference< XShape >& rxShape,
// convert settings from VML client data
if( const ::oox::vml::ClientData* pClientData = rShape.getClientData() )
{
if ( !pClientData->maAnchor.isEmpty() )
{
ShapeAnchor aAnchor( *this );
aAnchor.importVmlAnchor( pClientData->maAnchor );
aAnchor.applyToXShape( rxShape );
}
// specific settings for embedded form controls
try
{
......
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