From 8302f334b66f9d16e208a7cf4d4d1033664eb0e4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 31 Jul 2017 09:28:51 +0200 Subject: loplugin:constparams in oox Change-Id: I43984b4ece82da39ca61a91fa14e4660298509dd Reviewed-on: https://gerrit.libreoffice.org/40581 Tested-by: Jenkins Reviewed-by: Noel Grandin --- oox/source/ppt/animvariantcontext.cxx | 2 +- oox/source/ppt/animvariantcontext.hxx | 2 +- oox/source/ppt/backgroundproperties.cxx | 2 +- oox/source/ppt/buildlistcontext.cxx | 2 +- oox/source/ppt/buildlistcontext.hxx | 2 +- oox/source/ppt/commonbehaviorcontext.cxx | 2 +- oox/source/ppt/commonbehaviorcontext.hxx | 2 +- oox/source/ppt/commontimenodecontext.cxx | 2 +- oox/source/ppt/commontimenodecontext.hxx | 2 +- oox/source/ppt/conditioncontext.cxx | 4 ++-- oox/source/ppt/conditioncontext.hxx | 4 ++-- oox/source/ppt/customshowlistcontext.cxx | 10 ++++----- oox/source/ppt/headerfootercontext.cxx | 2 +- oox/source/ppt/headerfootercontext.hxx | 2 +- oox/source/ppt/pptgraphicshapecontext.cxx | 2 +- oox/source/ppt/pptshapecontext.cxx | 2 +- oox/source/ppt/pptshapegroupcontext.cxx | 2 +- oox/source/ppt/pptshapepropertiescontext.cxx | 2 +- oox/source/ppt/presentationfragmenthandler.cxx | 2 +- oox/source/ppt/slidemastertextstylescontext.cxx | 2 +- oox/source/ppt/slidepersist.cxx | 4 ++-- oox/source/ppt/slidetimingcontext.cxx | 2 +- oox/source/ppt/slidetransitioncontext.cxx | 2 +- oox/source/ppt/soundactioncontext.cxx | 2 +- oox/source/ppt/timeanimvaluecontext.cxx | 2 +- oox/source/ppt/timeanimvaluecontext.hxx | 2 +- oox/source/ppt/timenodelistcontext.cxx | 28 ++++++++++++------------- oox/source/ppt/timetargetelementcontext.cxx | 4 ++-- oox/source/ppt/timetargetelementcontext.hxx | 2 +- 29 files changed, 50 insertions(+), 50 deletions(-) (limited to 'oox/source/ppt') diff --git a/oox/source/ppt/animvariantcontext.cxx b/oox/source/ppt/animvariantcontext.cxx index 5d7c1a140059..bf96b277159f 100644 --- a/oox/source/ppt/animvariantcontext.cxx +++ b/oox/source/ppt/animvariantcontext.cxx @@ -139,7 +139,7 @@ namespace oox { namespace ppt { return bRet; } - AnimVariantContext::AnimVariantContext( FragmentHandler2& rParent, sal_Int32 aElement, Any & aValue ) + AnimVariantContext::AnimVariantContext( FragmentHandler2 const & rParent, sal_Int32 aElement, Any & aValue ) : FragmentHandler2( rParent ) , mnElement( aElement ) , maValue( aValue ) diff --git a/oox/source/ppt/animvariantcontext.hxx b/oox/source/ppt/animvariantcontext.hxx index 4ab209180230..3b5ebe82261f 100644 --- a/oox/source/ppt/animvariantcontext.hxx +++ b/oox/source/ppt/animvariantcontext.hxx @@ -32,7 +32,7 @@ namespace oox { namespace ppt { : public ::oox::core::FragmentHandler2 { public: - AnimVariantContext( ::oox::core::FragmentHandler2& rParent, ::sal_Int32 aElement, css::uno::Any & aValue ); + AnimVariantContext( ::oox::core::FragmentHandler2 const & rParent, ::sal_Int32 aElement, css::uno::Any & aValue ); virtual ~AnimVariantContext( ) throw( ) override; virtual void onEndElement() override; virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override; diff --git a/oox/source/ppt/backgroundproperties.cxx b/oox/source/ppt/backgroundproperties.cxx index 29ffe622500c..b7ddcbcb5543 100644 --- a/oox/source/ppt/backgroundproperties.cxx +++ b/oox/source/ppt/backgroundproperties.cxx @@ -30,7 +30,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { -BackgroundPropertiesContext::BackgroundPropertiesContext( FragmentHandler2& rParent, ::oox::drawingml::FillProperties& rFillProperties ) +BackgroundPropertiesContext::BackgroundPropertiesContext( FragmentHandler2 const & rParent, ::oox::drawingml::FillProperties& rFillProperties ) : FragmentHandler2( rParent ) , mrFillProperties( rFillProperties ) { diff --git a/oox/source/ppt/buildlistcontext.cxx b/oox/source/ppt/buildlistcontext.cxx index 1bee71b75522..8167bc05a02f 100644 --- a/oox/source/ppt/buildlistcontext.cxx +++ b/oox/source/ppt/buildlistcontext.cxx @@ -25,7 +25,7 @@ namespace oox { namespace ppt { - BuildListContext::BuildListContext( FragmentHandler2& rParent ) + BuildListContext::BuildListContext( FragmentHandler2 const & rParent ) : FragmentHandler2( rParent ) , mbInBldGraphic( false ) , mbBuildAsOne( false ) diff --git a/oox/source/ppt/buildlistcontext.hxx b/oox/source/ppt/buildlistcontext.hxx index 5fbf5f2b6618..903e9138c2cf 100644 --- a/oox/source/ppt/buildlistcontext.hxx +++ b/oox/source/ppt/buildlistcontext.hxx @@ -29,7 +29,7 @@ namespace oox { namespace ppt { : public ::oox::core::FragmentHandler2 { public: - explicit BuildListContext( ::oox::core::FragmentHandler2& rParent ); + explicit BuildListContext( ::oox::core::FragmentHandler2 const & rParent ); virtual ~BuildListContext( ) override; diff --git a/oox/source/ppt/commonbehaviorcontext.cxx b/oox/source/ppt/commonbehaviorcontext.cxx index a900f8a2b173..9751e7b97997 100644 --- a/oox/source/ppt/commonbehaviorcontext.cxx +++ b/oox/source/ppt/commonbehaviorcontext.cxx @@ -39,7 +39,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { - CommonBehaviorContext::CommonBehaviorContext( FragmentHandler2& rParent, + CommonBehaviorContext::CommonBehaviorContext( FragmentHandler2 const & rParent, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) : TimeNodeContext( rParent, PPT_TOKEN( cBhvr ), xAttribs, pNode ) diff --git a/oox/source/ppt/commonbehaviorcontext.hxx b/oox/source/ppt/commonbehaviorcontext.hxx index 4d396050a517..e36f746db309 100644 --- a/oox/source/ppt/commonbehaviorcontext.hxx +++ b/oox/source/ppt/commonbehaviorcontext.hxx @@ -39,7 +39,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - CommonBehaviorContext( ::oox::core::FragmentHandler2& rParent, + CommonBehaviorContext( ::oox::core::FragmentHandler2 const & rParent, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ); virtual ~CommonBehaviorContext( ) diff --git a/oox/source/ppt/commontimenodecontext.cxx b/oox/source/ppt/commontimenodecontext.cxx index 022a379757a1..038e1226cf41 100644 --- a/oox/source/ppt/commontimenodecontext.cxx +++ b/oox/source/ppt/commontimenodecontext.cxx @@ -352,7 +352,7 @@ OUString getConvertedSubType( sal_Int16 nPresetClass, sal_Int32 nPresetId, sal_I } CommonTimeNodeContext::CommonTimeNodeContext( - FragmentHandler2& rParent, + FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) diff --git a/oox/source/ppt/commontimenodecontext.hxx b/oox/source/ppt/commontimenodecontext.hxx index 5d5de495deca..ce66bb725eec 100644 --- a/oox/source/ppt/commontimenodecontext.hxx +++ b/oox/source/ppt/commontimenodecontext.hxx @@ -31,7 +31,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - CommonTimeNodeContext( ::oox::core::FragmentHandler2& rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode); + CommonTimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode); virtual ~CommonTimeNodeContext( ) throw( ) override; virtual void onEndElement() override; diff --git a/oox/source/ppt/conditioncontext.cxx b/oox/source/ppt/conditioncontext.cxx index 122ec7585403..591cfa75b32e 100644 --- a/oox/source/ppt/conditioncontext.cxx +++ b/oox/source/ppt/conditioncontext.cxx @@ -40,7 +40,7 @@ using namespace ::com::sun::star::animations; namespace oox { namespace ppt { - CondContext::CondContext( FragmentHandler2& rParent, const Reference< XFastAttributeList >& xAttribs, + CondContext::CondContext( FragmentHandler2 const & rParent, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode, AnimationCondition & aValue ) : TimeNodeContext( rParent, PPT_TOKEN( cond ), xAttribs, pNode ) , maCond( aValue ) @@ -153,7 +153,7 @@ namespace oox { namespace ppt { /** CT_TLTimeConditionList */ CondListContext::CondListContext( - FragmentHandler2& rParent, sal_Int32 aElement, + FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode, AnimationConditionList & aCond ) diff --git a/oox/source/ppt/conditioncontext.hxx b/oox/source/ppt/conditioncontext.hxx index 726191dba526..b9bb2cb0c961 100644 --- a/oox/source/ppt/conditioncontext.hxx +++ b/oox/source/ppt/conditioncontext.hxx @@ -34,7 +34,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - CondContext( ::oox::core::FragmentHandler2& rParent, + CondContext( ::oox::core::FragmentHandler2 const & rParent, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode, AnimationCondition & aCond ); virtual ~CondContext( ) throw( ) override; @@ -50,7 +50,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - CondListContext( ::oox::core::FragmentHandler2& rParent, + CondListContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode, AnimationConditionList & aCondList ); diff --git a/oox/source/ppt/customshowlistcontext.cxx b/oox/source/ppt/customshowlistcontext.cxx index cccd54b7e968..c64d2904d5ac 100644 --- a/oox/source/ppt/customshowlistcontext.cxx +++ b/oox/source/ppt/customshowlistcontext.cxx @@ -34,16 +34,16 @@ class CustomShowContext : public ::oox::core::FragmentHandler2 CustomShow mrCustomShow; public: - CustomShowContext( ::oox::core::FragmentHandler2& rParent, + CustomShowContext( ::oox::core::FragmentHandler2 const & rParent, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, - CustomShow& rCustomShow ); + CustomShow const & rCustomShow ); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override; }; -CustomShowContext::CustomShowContext( FragmentHandler2& rParent, +CustomShowContext::CustomShowContext( FragmentHandler2 const & rParent, const Reference< XFastAttributeList >& rxAttribs, - CustomShow& rCustomShow ) + CustomShow const & rCustomShow ) : FragmentHandler2( rParent ) , mrCustomShow( rCustomShow ) { @@ -65,7 +65,7 @@ CustomShowContext::CustomShowContext( FragmentHandler2& rParent, return this; } -CustomShowListContext::CustomShowListContext( FragmentHandler2& rParent, +CustomShowListContext::CustomShowListContext( FragmentHandler2 const & rParent, std::vector< CustomShow >& rCustomShowList ) : FragmentHandler2( rParent ) , mrCustomShowList( rCustomShowList ) diff --git a/oox/source/ppt/headerfootercontext.cxx b/oox/source/ppt/headerfootercontext.cxx index 9de098fca166..bf157bf5390a 100644 --- a/oox/source/ppt/headerfootercontext.cxx +++ b/oox/source/ppt/headerfootercontext.cxx @@ -27,7 +27,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { - HeaderFooterContext::HeaderFooterContext( FragmentHandler2& rParent, + HeaderFooterContext::HeaderFooterContext( FragmentHandler2 const & rParent, const AttributeList& rAttribs, HeaderFooter& rHeaderFooter ) : FragmentHandler2( rParent ) { diff --git a/oox/source/ppt/headerfootercontext.hxx b/oox/source/ppt/headerfootercontext.hxx index 89ab5b9d79a7..575c61a34eac 100644 --- a/oox/source/ppt/headerfootercontext.hxx +++ b/oox/source/ppt/headerfootercontext.hxx @@ -29,7 +29,7 @@ namespace oox { namespace ppt { class HeaderFooterContext : public ::oox::core::FragmentHandler2 { public: - HeaderFooterContext( ::oox::core::FragmentHandler2& rParent, + HeaderFooterContext( ::oox::core::FragmentHandler2 const & rParent, const AttributeList& rAttribs, HeaderFooter& rHeaderFooter ); virtual ~HeaderFooterContext( ) override; diff --git a/oox/source/ppt/pptgraphicshapecontext.cxx b/oox/source/ppt/pptgraphicshapecontext.cxx index 826fad39ef68..4ad6962aa4a4 100644 --- a/oox/source/ppt/pptgraphicshapecontext.cxx +++ b/oox/source/ppt/pptgraphicshapecontext.cxx @@ -48,7 +48,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { // CT_Shape -PPTGraphicShapeContext::PPTGraphicShapeContext( ContextHandler2Helper& rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr ) +PPTGraphicShapeContext::PPTGraphicShapeContext( ContextHandler2Helper const & rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr ) : oox::drawingml::GraphicShapeContext( rParent, pMasterShapePtr, pShapePtr ) , mpSlidePersistPtr( rSlidePersistPtr ) { diff --git a/oox/source/ppt/pptshapecontext.cxx b/oox/source/ppt/pptshapecontext.cxx index d3348dcb1c1c..396f3af2a3ec 100644 --- a/oox/source/ppt/pptshapecontext.cxx +++ b/oox/source/ppt/pptshapecontext.cxx @@ -50,7 +50,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { // CT_Shape -PPTShapeContext::PPTShapeContext( ContextHandler2Helper& rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr ) +PPTShapeContext::PPTShapeContext( ContextHandler2Helper const & rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr ) : oox::drawingml::ShapeContext( rParent, pMasterShapePtr, pShapePtr ) , mpSlidePersistPtr( rSlidePersistPtr ) { diff --git a/oox/source/ppt/pptshapegroupcontext.cxx b/oox/source/ppt/pptshapegroupcontext.cxx index 4ad250a15cff..7b9fc6126c46 100644 --- a/oox/source/ppt/pptshapegroupcontext.cxx +++ b/oox/source/ppt/pptshapegroupcontext.cxx @@ -51,7 +51,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { PPTShapeGroupContext::PPTShapeGroupContext( - ContextHandler2Helper& rParent, + ContextHandler2Helper const & rParent, const oox::ppt::SlidePersistPtr& rSlidePersistPtr, const ShapeLocation eShapeLocation, const oox::drawingml::ShapePtr& pMasterShapePtr, diff --git a/oox/source/ppt/pptshapepropertiescontext.cxx b/oox/source/ppt/pptshapepropertiescontext.cxx index 4fca73a3d9a7..90291c0a1865 100644 --- a/oox/source/ppt/pptshapepropertiescontext.cxx +++ b/oox/source/ppt/pptshapepropertiescontext.cxx @@ -47,7 +47,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { // CT_Shape -PPTShapePropertiesContext::PPTShapePropertiesContext( ContextHandler2Helper& rParent, ::oox::drawingml::Shape& rShape ) +PPTShapePropertiesContext::PPTShapePropertiesContext( ContextHandler2Helper const & rParent, ::oox::drawingml::Shape& rShape ) : ShapePropertiesContext( rParent, rShape ) { } diff --git a/oox/source/ppt/presentationfragmenthandler.cxx b/oox/source/ppt/presentationfragmenthandler.cxx index 4ef9ea282dea..07433617b612 100644 --- a/oox/source/ppt/presentationfragmenthandler.cxx +++ b/oox/source/ppt/presentationfragmenthandler.cxx @@ -83,7 +83,7 @@ PresentationFragmentHandler::~PresentationFragmentHandler() throw() { } -void ResolveTextFields( XmlFilterBase& rFilter ) +void ResolveTextFields( XmlFilterBase const & rFilter ) { const oox::core::TextFieldStack& rTextFields = rFilter.getTextFieldStack(); if ( !rTextFields.empty() ) diff --git a/oox/source/ppt/slidemastertextstylescontext.cxx b/oox/source/ppt/slidemastertextstylescontext.cxx index 8142fc1cdb3b..ab25f168500b 100644 --- a/oox/source/ppt/slidemastertextstylescontext.cxx +++ b/oox/source/ppt/slidemastertextstylescontext.cxx @@ -29,7 +29,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { -SlideMasterTextStylesContext::SlideMasterTextStylesContext( FragmentHandler2& rParent, SlidePersistPtr const & pSlidePersistPtr ) +SlideMasterTextStylesContext::SlideMasterTextStylesContext( FragmentHandler2 const & rParent, SlidePersistPtr const & pSlidePersistPtr ) : FragmentHandler2( rParent ) , mpSlidePersistPtr( pSlidePersistPtr ) { diff --git a/oox/source/ppt/slidepersist.cxx b/oox/source/ppt/slidepersist.cxx index 7621ed6d7094..33a2464cebb8 100644 --- a/oox/source/ppt/slidepersist.cxx +++ b/oox/source/ppt/slidepersist.cxx @@ -182,8 +182,8 @@ void SlidePersist::createBackground( const XmlFilterBase& rFilterBase ) } } -void setTextStyle( Reference< beans::XPropertySet >& rxPropSet, const XmlFilterBase& rFilter, - oox::drawingml::TextListStylePtr& pTextListStylePtr, int nLevel ) +void setTextStyle( Reference< beans::XPropertySet > const & rxPropSet, const XmlFilterBase& rFilter, + oox::drawingml::TextListStylePtr const & pTextListStylePtr, int nLevel ) { ::oox::drawingml::TextParagraphPropertiesPtr pTextParagraphPropertiesPtr( pTextListStylePtr->getListStyle()[ nLevel ] ); if( pTextParagraphPropertiesPtr == nullptr ) diff --git a/oox/source/ppt/slidetimingcontext.cxx b/oox/source/ppt/slidetimingcontext.cxx index d2ed428b0c37..bf5951b75e7e 100644 --- a/oox/source/ppt/slidetimingcontext.cxx +++ b/oox/source/ppt/slidetimingcontext.cxx @@ -42,7 +42,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { -SlideTimingContext::SlideTimingContext( FragmentHandler2& rParent, TimeNodePtrList & aTimeNodeList ) throw() +SlideTimingContext::SlideTimingContext( FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) throw() : FragmentHandler2( rParent ) , maTimeNodeList( aTimeNodeList ) { diff --git a/oox/source/ppt/slidetransitioncontext.cxx b/oox/source/ppt/slidetransitioncontext.cxx index 9b29653e98e6..c9ebcfda3a0c 100644 --- a/oox/source/ppt/slidetransitioncontext.cxx +++ b/oox/source/ppt/slidetransitioncontext.cxx @@ -42,7 +42,7 @@ using namespace ::com::sun::star::container; namespace oox { namespace ppt { -SlideTransitionContext::SlideTransitionContext( FragmentHandler2& rParent, const AttributeList& rAttribs, PropertyMap & aProperties ) throw() +SlideTransitionContext::SlideTransitionContext( FragmentHandler2 const & rParent, const AttributeList& rAttribs, PropertyMap & aProperties ) throw() : FragmentHandler2( rParent ) , maSlideProperties( aProperties ) , mbHasTransition( false ) diff --git a/oox/source/ppt/soundactioncontext.cxx b/oox/source/ppt/soundactioncontext.cxx index a16598854c15..34b39b1c94dc 100644 --- a/oox/source/ppt/soundactioncontext.cxx +++ b/oox/source/ppt/soundactioncontext.cxx @@ -35,7 +35,7 @@ using namespace ::com::sun::star::uno; namespace oox { namespace ppt { - SoundActionContext::SoundActionContext( FragmentHandler2& rParent, PropertyMap & aProperties ) throw() + SoundActionContext::SoundActionContext( FragmentHandler2 const & rParent, PropertyMap & aProperties ) throw() : FragmentHandler2( rParent ) , maSlideProperties( aProperties ) , mbHasStartSound( false ) diff --git a/oox/source/ppt/timeanimvaluecontext.cxx b/oox/source/ppt/timeanimvaluecontext.cxx index 531bf8cb8276..dccd2c381235 100644 --- a/oox/source/ppt/timeanimvaluecontext.cxx +++ b/oox/source/ppt/timeanimvaluecontext.cxx @@ -31,7 +31,7 @@ using namespace ::com::sun::star::xml::sax; namespace oox { namespace ppt { - TimeAnimValueListContext::TimeAnimValueListContext( FragmentHandler2& rParent, + TimeAnimValueListContext::TimeAnimValueListContext( FragmentHandler2 const & rParent, const Reference< XFastAttributeList >& /*xAttribs*/, TimeAnimationValueList & aTavList ) : FragmentHandler2( rParent ) diff --git a/oox/source/ppt/timeanimvaluecontext.hxx b/oox/source/ppt/timeanimvaluecontext.hxx index 2562393e71d7..059564b44958 100644 --- a/oox/source/ppt/timeanimvaluecontext.hxx +++ b/oox/source/ppt/timeanimvaluecontext.hxx @@ -30,7 +30,7 @@ namespace oox { namespace ppt { : public ::oox::core::FragmentHandler2 { public: - TimeAnimValueListContext( ::oox::core::FragmentHandler2& rParent, + TimeAnimValueListContext( ::oox::core::FragmentHandler2 const & rParent, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, TimeAnimationValueList & aTavList ); diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx index 55ca84c161b7..3421b4abc475 100644 --- a/oox/source/ppt/timenodelistcontext.cxx +++ b/oox/source/ppt/timenodelistcontext.cxx @@ -105,7 +105,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - MediaNodeContext( FragmentHandler2& rParent, sal_Int32 aElement, + MediaNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -164,7 +164,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - SetTimeNodeContext( FragmentHandler2& rParent, sal_Int32 aElement, + SetTimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -215,7 +215,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - CmdTimeNodeContext( FragmentHandler2& rParent, sal_Int32 aElement, + CmdTimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -328,7 +328,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - SequenceTimeNodeContext( FragmentHandler2& rParent, sal_Int32 aElement, + SequenceTimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -371,7 +371,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - ParallelExclTimeNodeContext( FragmentHandler2& rParent, sal_Int32 aElement, + ParallelExclTimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -400,7 +400,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - AnimColorContext( FragmentHandler2& rParent, sal_Int32 aElement, + AnimColorContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw() : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -491,7 +491,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - AnimContext( FragmentHandler2& rParent, sal_Int32 aElement, + AnimContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw() : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -595,7 +595,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - AnimScaleContext( FragmentHandler2& rParent, sal_Int32 aElement, + AnimScaleContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw() : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -675,7 +675,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - AnimRotContext( FragmentHandler2& rParent, sal_Int32 aElement, + AnimRotContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw() : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -722,7 +722,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - AnimMotionContext( FragmentHandler2& rParent, sal_Int32 aElement, + AnimMotionContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw() : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -817,7 +817,7 @@ namespace oox { namespace ppt { : public TimeNodeContext { public: - AnimEffectContext( FragmentHandler2& rParent, sal_Int32 aElement, + AnimEffectContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw() : TimeNodeContext( rParent, aElement, xAttribs, pNode ) @@ -855,7 +855,7 @@ namespace oox { namespace ppt { }; TimeNodeContext * TimeNodeContext::makeContext( - FragmentHandler2& rParent, sal_Int32 aElement, + FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) { @@ -905,7 +905,7 @@ namespace oox { namespace ppt { return pCtx; } - TimeNodeContext::TimeNodeContext( FragmentHandler2& rParent, sal_Int32 aElement, + TimeNodeContext::TimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement, const Reference< XFastAttributeList >& /*xAttribs*/, const TimeNodePtr & pNode ) throw() : FragmentHandler2( rParent ) @@ -919,7 +919,7 @@ namespace oox { namespace ppt { } - TimeNodeListContext::TimeNodeListContext( FragmentHandler2& rParent, TimeNodePtrList & aList ) + TimeNodeListContext::TimeNodeListContext( FragmentHandler2 const & rParent, TimeNodePtrList & aList ) throw() : FragmentHandler2( rParent ) , maList( aList ) diff --git a/oox/source/ppt/timetargetelementcontext.cxx b/oox/source/ppt/timetargetelementcontext.cxx index 5043ef5bb55b..1f30e1c0e345 100644 --- a/oox/source/ppt/timetargetelementcontext.cxx +++ b/oox/source/ppt/timetargetelementcontext.cxx @@ -39,7 +39,7 @@ namespace oox { namespace ppt { : public FragmentHandler2 { public: - ShapeTargetElementContext( FragmentHandler2& rParent, ShapeTargetElement & aValue ) + ShapeTargetElementContext( FragmentHandler2 const & rParent, ShapeTargetElement & aValue ) : FragmentHandler2( rParent ) , bTargetSet(false) , maShapeTarget(aValue) @@ -92,7 +92,7 @@ namespace oox { namespace ppt { ShapeTargetElement & maShapeTarget; }; - TimeTargetElementContext::TimeTargetElementContext( FragmentHandler2& rParent, const AnimTargetElementPtr & pValue ) + TimeTargetElementContext::TimeTargetElementContext( FragmentHandler2 const & rParent, const AnimTargetElementPtr & pValue ) : FragmentHandler2( rParent ), mpTarget( pValue ) { diff --git a/oox/source/ppt/timetargetelementcontext.hxx b/oox/source/ppt/timetargetelementcontext.hxx index c51a6d8207a8..6b71726ea550 100644 --- a/oox/source/ppt/timetargetelementcontext.hxx +++ b/oox/source/ppt/timetargetelementcontext.hxx @@ -30,7 +30,7 @@ namespace oox { namespace ppt { : public ::oox::core::FragmentHandler2 { public: - TimeTargetElementContext( ::oox::core::FragmentHandler2& rParent, const AnimTargetElementPtr & aValue ); + TimeTargetElementContext( ::oox::core::FragmentHandler2 const & rParent, const AnimTargetElementPtr & aValue ); virtual ~TimeTargetElementContext( ) throw( ) override; virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override; -- cgit