summaryrefslogtreecommitdiff
path: root/include/oox/drawingml/shapestylecontext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/drawingml/shapestylecontext.hxx')
-rw-r--r--include/oox/drawingml/shapestylecontext.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/oox/drawingml/shapestylecontext.hxx b/include/oox/drawingml/shapestylecontext.hxx
index 88338a16b59a..e7b888fa9a6c 100644
--- a/include/oox/drawingml/shapestylecontext.hxx
+++ b/include/oox/drawingml/shapestylecontext.hxx
@@ -21,18 +21,17 @@
#define OOX_DRAWINGML_SHAPESTYLECONTEXT_HXX
#include "oox/drawingml/shape.hxx"
-#include "oox/core/contexthandler.hxx"
+#include "oox/core/contexthandler2.hxx"
namespace oox { namespace drawingml {
-class ShapeStyleContext : public ::oox::core::ContextHandler
+class ShapeStyleContext : public ::oox::core::ContextHandler2
{
public:
- ShapeStyleContext( ::oox::core::ContextHandler& rParent, Shape& rShape );
+ ShapeStyleContext( ::oox::core::ContextHandler2Helper& rParent, Shape& rShape );
~ShapeStyleContext();
- virtual void SAL_CALL endFastElement( ::sal_Int32 Element ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
+ virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
protected:
Shape& mrShape;