summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/commonbehaviorcontext.cxx5
-rw-r--r--oox/source/ppt/commonbehaviorcontext.hxx3
2 files changed, 5 insertions, 3 deletions
diff --git a/oox/source/ppt/commonbehaviorcontext.cxx b/oox/source/ppt/commonbehaviorcontext.cxx
index 844c81803e03..8de59ce06728 100644
--- a/oox/source/ppt/commonbehaviorcontext.cxx
+++ b/oox/source/ppt/commonbehaviorcontext.cxx
@@ -39,10 +39,11 @@ using namespace ::com::sun::star::xml::sax;
namespace oox { namespace ppt {
CommonBehaviorContext::CommonBehaviorContext( FragmentHandler2 const & rParent,
- const TimeNodePtr & pNode )
- : TimeNodeContext( rParent, PPT_TOKEN( cBhvr ), pNode )
+ const TimeNodePtr & pNode)
+ : FragmentHandler2(rParent)
, mbInAttrList( false )
, mbIsInAttrName( false )
+ , mpNode(pNode)
{
}
diff --git a/oox/source/ppt/commonbehaviorcontext.hxx b/oox/source/ppt/commonbehaviorcontext.hxx
index 5cb45f1c5dbd..f1fef4103db3 100644
--- a/oox/source/ppt/commonbehaviorcontext.hxx
+++ b/oox/source/ppt/commonbehaviorcontext.hxx
@@ -36,7 +36,7 @@ namespace oox { namespace ppt {
/** CT_TLCommonBehaviorData */
class CommonBehaviorContext
- : public TimeNodeContext
+ : public ::oox::core::FragmentHandler2
{
public:
CommonBehaviorContext( ::oox::core::FragmentHandler2 const & rParent,
@@ -55,6 +55,7 @@ namespace oox { namespace ppt {
bool mbIsInAttrName;
std::vector< Attribute > maAttributes;
OUString msCurrentAttribute;
+ const TimeNodePtr& mpNode;
};
} }