diff options
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 59d08cacfed1..856635c09d31 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -47,12 +47,18 @@ #include <map> #include <vector> +namespace { + class ShapeGroupContext; +} + using namespace ::std; using namespace ::com::sun::star; using namespace ::xmloff::token; +namespace { + struct ConnectionHint { css::uno::Reference< css::drawing::XShape > mxConnector; @@ -70,6 +76,8 @@ struct XShapeCompareHelper } }; +} + /** this map store all glue point id mappings for shapes that had user defined glue points. This is needed because on insertion the glue points will get a new and unique id */ typedef std::map<sal_Int32,sal_Int32> GluePointIdMap; @@ -694,6 +702,8 @@ void XMLShapeImportHelper::finishShape( } } +namespace { + // helper functions for z-order sorting struct ZOrderHint { @@ -725,6 +735,8 @@ private: void moveShape( sal_Int32 nSourcePos, sal_Int32 nDestPos ); }; +} + ShapeGroupContext::ShapeGroupContext( uno::Reference< drawing::XShapes > const & rShapes, std::shared_ptr<ShapeGroupContext> pParentContext ) : mxShapes( rShapes ), mnCurrentZ( 0 ), mpParentContext( std::move(pParentContext) ) { |