diff options
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/shapeimport.hxx | 3 | ||||
-rw-r--r-- | include/xmloff/xmlmultiimagehelper.hxx | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx index bad298cc5037..a47a621b7e01 100644 --- a/include/xmloff/shapeimport.hxx +++ b/include/xmloff/shapeimport.hxx @@ -364,6 +364,9 @@ public: void shapeWithZIndexAdded( css::uno::Reference< css::drawing::XShape >& rShape, sal_Int32 nZIndex ); + /// Updates the z-order of other shapes to be consistent again, needed due + /// to the removal of rShape. + void shapeRemoved(const css::uno::Reference<css::drawing::XShape>& rShape); void addShapeConnection( css::uno::Reference< css::drawing::XShape >& rConnectorShape, bool bStart, diff --git a/include/xmloff/xmlmultiimagehelper.hxx b/include/xmloff/xmlmultiimagehelper.hxx index 391f8a67a6a4..4a14d1ac4a77 100644 --- a/include/xmloff/xmlmultiimagehelper.hxx +++ b/include/xmloff/xmlmultiimagehelper.hxx @@ -33,7 +33,7 @@ private: protected: /// helper to get the created xShape instance, override this virtual OUString getGraphicURLFromImportContext(const SvXMLImportContext& rContext) const = 0; - virtual void removeGraphicFromImportContext(const SvXMLImportContext& rContext) const = 0; + virtual void removeGraphicFromImportContext(const SvXMLImportContext& rContext) = 0; public: MultiImageImportHelper(); |