summaryrefslogtreecommitdiff
path: root/oox/source/ppt/timetargetelementcontext.hxx
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@novell.com>2011-07-05 16:32:50 +0530
committerMuthu Subramanian <sumuthu@novell.com>2011-07-05 16:32:50 +0530
commitfc0a2d2d9525736a11c963d70a66e1246667e82f (patch)
tree6de2952feb7412ef3f0773a37a2e2bc2feb7ea43 /oox/source/ppt/timetargetelementcontext.hxx
parent1b2ebc239dbe6e1afe2d1bd4c2a9b47163e632dd (diff)
Moving the pptx classes to use FragmentHandler2/ContextHandler2.
This is to make it use the better and newer parent handlers. And to support MCE. [PB] Probable candidate for typo breakages.
Diffstat (limited to 'oox/source/ppt/timetargetelementcontext.hxx')
-rw-r--r--oox/source/ppt/timetargetelementcontext.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/oox/source/ppt/timetargetelementcontext.hxx b/oox/source/ppt/timetargetelementcontext.hxx
index 8ee22fd26aae..f20890f1899a 100644
--- a/oox/source/ppt/timetargetelementcontext.hxx
+++ b/oox/source/ppt/timetargetelementcontext.hxx
@@ -29,20 +29,19 @@
#ifndef OOX_PPT_TIMETARGETELEMENTCONTEXT
#define OOX_PPT_TIMETARGETELEMENTCONTEXT
-#include "oox/core/contexthandler.hxx"
+#include "oox/core/fragmenthandler2.hxx"
#include "oox/ppt/animationspersist.hxx"
namespace oox { namespace ppt {
/** context CT_TLTimeTargetElement */
class TimeTargetElementContext
- : public ::oox::core::ContextHandler
+ : public ::oox::core::FragmentHandler2
{
public:
- TimeTargetElementContext( ::oox::core::ContextHandler& rParent, const AnimTargetElementPtr & aValue );
+ TimeTargetElementContext( ::oox::core::FragmentHandler2& rParent, const AnimTargetElementPtr & aValue );
~TimeTargetElementContext( ) throw( );
- virtual void SAL_CALL endFastElement( sal_Int32 /*aElement*/ ) 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 aElementToken, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs ) throw ( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs );
private:
AnimTargetElementPtr mpTarget;