summaryrefslogtreecommitdiff
path: root/writerfilter/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-06-28 11:02:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-28 14:30:53 +0200
commit6701329f5b7d9c39fbd00f2f735dcd375992aa8e (patch)
tree4645f37a3b98ebfd6e9bdcf6593be38bdba540fc /writerfilter/inc
parent0aa7ee7827fc77b5b4c0479402bfbd9a4e5d9e84 (diff)
[API CHANGE] drop ShapeContextHandler service and interface
There is zero chance an extension is using this, because it is so intimately tired together with the oox and writerfilter interactions. I'm removing this so I can expose the ShapeContextHandler and then override it's implementation in a more fashion without jumping through UNO hoops. Change-Id: I79ef30247f4642303dfdb92bbf8f6e6226234829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117996 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/inc')
-rw-r--r--writerfilter/inc/ooxml/OOXMLDocument.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx b/writerfilter/inc/ooxml/OOXMLDocument.hxx
index de0a8a7134de..8bf1502848ec 100644
--- a/writerfilter/inc/ooxml/OOXMLDocument.hxx
+++ b/writerfilter/inc/ooxml/OOXMLDocument.hxx
@@ -26,10 +26,10 @@
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/xml/sax/XFastParser.hpp>
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
-#include <com/sun/star/xml/sax/XFastShapeContextHandler.hpp>
#include <com/sun/star/xml/dom/XDocument.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/drawing/XDrawPage.hpp>
+#include <oox/shape/ShapeContextHandler.hxx>
/**
@file OOXMLDocument.hxx
@@ -211,8 +211,8 @@ public:
virtual void setXNoteId(const sal_Int32 nId) = 0;
virtual sal_Int32 getXNoteId() const = 0;
virtual const OUString & getTarget() const = 0;
- virtual css::uno::Reference<css::xml::sax::XFastShapeContextHandler> getShapeContext( ) = 0;
- virtual void setShapeContext( css::uno::Reference<css::xml::sax::XFastShapeContextHandler> xContext ) = 0;
+ virtual rtl::Reference<oox::shape::ShapeContextHandler> getShapeContext( ) = 0;
+ virtual void setShapeContext( rtl::Reference<oox::shape::ShapeContextHandler> xContext ) = 0;
/// Push context of drawingML shapes, so nested shapes are handled separately.
virtual void pushShapeContext() = 0;
/// Pop context of a previously pushed drawingML shape.