diff options
author | Noel Power <noel.power@novell.com> | 2012-05-02 17:41:30 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-05-03 16:06:43 +0100 |
commit | 9dc4fa1b22a533ba0a6ce0353112c55eef8a14ef (patch) | |
tree | eb01bc22975f051b7e954b534e9c9844b58f8bbf /sc/source/filter/oox/drawingfragment.cxx | |
parent | a393af6e9146596ba2a197f0e369775bda7faa51 (diff) |
fix bad import positions of shapes & controls fdo#49430
Change-Id: I5635ee681288cb39a11d00c5573e61c582d7daf7
Diffstat (limited to 'sc/source/filter/oox/drawingfragment.cxx')
-rw-r--r-- | sc/source/filter/oox/drawingfragment.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx index f04128762507..012c9a19a3d0 100644 --- a/sc/source/filter/oox/drawingfragment.cxx +++ b/sc/source/filter/oox/drawingfragment.cxx @@ -614,7 +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; } } |