summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 09:28:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 10:34:58 +0200
commit8302f334b66f9d16e208a7cf4d4d1033664eb0e4 (patch)
treeb29579b478229b6716601ffd70bc996f04114251 /include
parent9fd9d25d04709a3ec6957f6b40d5534bec86ed6a (diff)
loplugin:constparams in oox
Change-Id: I43984b4ece82da39ca61a91fa14e4660298509dd Reviewed-on: https://gerrit.libreoffice.org/40581 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/oox/core/contexthandler2.hxx2
-rw-r--r--include/oox/core/filterbase.hxx2
-rw-r--r--include/oox/crypto/DocumentDecryption.hxx2
-rw-r--r--include/oox/drawingml/connectorshapecontext.hxx2
-rw-r--r--include/oox/drawingml/graphicshapecontext.hxx8
-rw-r--r--include/oox/drawingml/shape.hxx6
-rw-r--r--include/oox/drawingml/shapecontext.hxx2
-rw-r--r--include/oox/drawingml/shapegroupcontext.hxx2
-rw-r--r--include/oox/export/chartexport.hxx2
-rw-r--r--include/oox/helper/binaryoutputstream.hxx2
-rw-r--r--include/oox/ole/axcontrol.hxx12
-rw-r--r--include/oox/ole/axcontrolfragment.hxx2
-rw-r--r--include/oox/ole/olehelper.hxx6
-rw-r--r--include/oox/ole/vbaproject.hxx2
-rw-r--r--include/oox/ppt/backgroundproperties.hxx2
-rw-r--r--include/oox/ppt/customshowlistcontext.hxx2
-rw-r--r--include/oox/ppt/pptgraphicshapecontext.hxx2
-rw-r--r--include/oox/ppt/pptshapecontext.hxx2
-rw-r--r--include/oox/ppt/pptshapegroupcontext.hxx2
-rw-r--r--include/oox/ppt/pptshapepropertiescontext.hxx2
-rw-r--r--include/oox/ppt/slidemastertextstylescontext.hxx2
-rw-r--r--include/oox/ppt/slidetimingcontext.hxx2
-rw-r--r--include/oox/ppt/slidetransitioncontext.hxx2
-rw-r--r--include/oox/ppt/soundactioncontext.hxx2
-rw-r--r--include/oox/ppt/timenodelistcontext.hxx6
-rw-r--r--include/oox/vml/vmlshape.hxx2
-rw-r--r--include/oox/vml/vmlshapecontext.hxx16
-rw-r--r--include/oox/vml/vmltextboxcontext.hxx6
28 files changed, 51 insertions, 51 deletions
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx
index b08dd937226f..c14ddcd62ada 100644
--- a/include/oox/core/contexthandler2.hxx
+++ b/include/oox/core/contexthandler2.hxx
@@ -226,7 +226,7 @@ protected:
class OOX_DLLPUBLIC ContextHandler2 : public ContextHandler, public ContextHandler2Helper
{
public:
- explicit ContextHandler2( ContextHandler2Helper& rParent );
+ explicit ContextHandler2( ContextHandler2Helper const & rParent );
virtual ~ContextHandler2() override;
// resolve ambiguity from base classes
diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx
index 6c2ffb04fd15..dcbebc122309 100644
--- a/include/oox/core/filterbase.hxx
+++ b/include/oox/core/filterbase.hxx
@@ -196,7 +196,7 @@ public:
/** Imports the raw binary data from the specified stream.
@return True, if the data could be imported from the stream. */
- bool importBinaryData( StreamDataSequence& orDataSeq, const OUString& rStreamName );
+ bool importBinaryData( StreamDataSequence const & orDataSeq, const OUString& rStreamName );
// com.sun.star.lang.XServiceInfo interface -------------------------------
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx
index fbd5e36eb747..852dd9035c9f 100644
--- a/include/oox/crypto/DocumentDecryption.hxx
+++ b/include/oox/crypto/DocumentDecryption.hxx
@@ -49,7 +49,7 @@ private:
std::unique_ptr<CryptoEngine> mEngine;
CryptoType mCryptoType;
- bool readAgileEncryptionInfo( css::uno::Reference< css::io::XInputStream >& rStream );
+ bool readAgileEncryptionInfo( css::uno::Reference< css::io::XInputStream > const & rStream );
bool readStandard2007EncryptionInfo( BinaryInputStream& rStream );
public:
diff --git a/include/oox/drawingml/connectorshapecontext.hxx b/include/oox/drawingml/connectorshapecontext.hxx
index 57982230bc34..15d07e2366d2 100644
--- a/include/oox/drawingml/connectorshapecontext.hxx
+++ b/include/oox/drawingml/connectorshapecontext.hxx
@@ -34,7 +34,7 @@ namespace oox { namespace drawingml {
class OOX_DLLPUBLIC ConnectorShapeContext : public ShapeContext
{
public:
- ConnectorShapeContext( ::oox::core::ContextHandler2Helper& rParent, const ShapePtr& pMasterShapePtr, const ShapePtr& pGroupShapePtr );
+ ConnectorShapeContext( ::oox::core::ContextHandler2Helper const & rParent, const ShapePtr& pMasterShapePtr, const ShapePtr& pGroupShapePtr );
virtual ~ConnectorShapeContext() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
};
diff --git a/include/oox/drawingml/graphicshapecontext.hxx b/include/oox/drawingml/graphicshapecontext.hxx
index 403fdea79018..5b520e468089 100644
--- a/include/oox/drawingml/graphicshapecontext.hxx
+++ b/include/oox/drawingml/graphicshapecontext.hxx
@@ -36,7 +36,7 @@ namespace oox { namespace drawingml {
class OOX_DLLPUBLIC GraphicShapeContext : public ShapeContext
{
public:
- GraphicShapeContext( ::oox::core::ContextHandler2Helper& rParent, const ShapePtr& pMasterShapePtr, const ShapePtr& pShapePtr );
+ GraphicShapeContext( ::oox::core::ContextHandler2Helper const & rParent, const ShapePtr& pMasterShapePtr, const ShapePtr& pShapePtr );
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
};
@@ -59,7 +59,7 @@ private:
class OleObjectGraphicDataContext : public ShapeContext
{
public:
- OleObjectGraphicDataContext( ::oox::core::ContextHandler2Helper& rParent, const ShapePtr& pShapePtr );
+ OleObjectGraphicDataContext( ::oox::core::ContextHandler2Helper const & rParent, const ShapePtr& pShapePtr );
virtual ~OleObjectGraphicDataContext() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
@@ -72,7 +72,7 @@ class DiagramGraphicDataContext
: public ShapeContext
{
public:
- DiagramGraphicDataContext( ::oox::core::ContextHandler2Helper& rParent, const ShapePtr& pShapePtr );
+ DiagramGraphicDataContext( ::oox::core::ContextHandler2Helper const & rParent, const ShapePtr& pShapePtr );
virtual ~DiagramGraphicDataContext() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
@@ -90,7 +90,7 @@ class ChartGraphicDataContext : public ShapeContext
{
public:
explicit ChartGraphicDataContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
const ShapePtr& rxShape, bool bEmbedShapes );
virtual ::oox::core::ContextHandlerRef
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index c98bf4e3f254..9f16113b2ac5 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -182,7 +182,7 @@ public:
::oox::core::XmlFilterBase& rFilterBase,
const Theme* pTheme,
const css::uno::Reference< css::drawing::XShapes >& rxShapes,
- basegfx::B2DHomMatrix& aTransformation );
+ basegfx::B2DHomMatrix const & aTransformation );
void setXShape( const css::uno::Reference< css::drawing::XShape >& rXShape )
{ mxShape = rXShape; };
@@ -233,10 +233,10 @@ protected:
ShapeIdMap* pShapeMap,
const basegfx::B2DHomMatrix& aTransformation );
- void keepDiagramCompatibilityInfo( ::oox::core::XmlFilterBase& rFilterBase );
+ void keepDiagramCompatibilityInfo( ::oox::core::XmlFilterBase const & rFilterBase );
css::uno::Reference< css::drawing::XShape >
- renderDiagramToGraphic( ::oox::core::XmlFilterBase& rFilterBase );
+ renderDiagramToGraphic( ::oox::core::XmlFilterBase const & rFilterBase );
OUString finalizeServiceName(
::oox::core::XmlFilterBase& rFilter,
diff --git a/include/oox/drawingml/shapecontext.hxx b/include/oox/drawingml/shapecontext.hxx
index e745b9723469..b06ac38ed21d 100644
--- a/include/oox/drawingml/shapecontext.hxx
+++ b/include/oox/drawingml/shapecontext.hxx
@@ -33,7 +33,7 @@ namespace oox { namespace drawingml {
class OOX_DLLPUBLIC ShapeContext : public ::oox::core::ContextHandler2
{
public:
- ShapeContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pShapePtr );
+ ShapeContext( ::oox::core::ContextHandler2Helper const & rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pShapePtr );
virtual ~ShapeContext() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
diff --git a/include/oox/drawingml/shapegroupcontext.hxx b/include/oox/drawingml/shapegroupcontext.hxx
index d66457a566b9..c273d9c03263 100644
--- a/include/oox/drawingml/shapegroupcontext.hxx
+++ b/include/oox/drawingml/shapegroupcontext.hxx
@@ -33,7 +33,7 @@ namespace oox { namespace drawingml {
class OOX_DLLPUBLIC ShapeGroupContext : public ::oox::core::ContextHandler2
{
public:
- ShapeGroupContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pGroupShapePtr );
+ ShapeGroupContext( ::oox::core::ContextHandler2Helper const & rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pGroupShapePtr );
virtual ~ShapeGroupContext() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx
index f0fe9cd80f6a..dadad8d6ca34 100644
--- a/include/oox/export/chartexport.hxx
+++ b/include/oox/export/chartexport.hxx
@@ -207,7 +207,7 @@ private:
public:
- ChartExport( sal_Int32 nXmlNamespace, ::sax_fastparser::FSHelperPtr pFS, css::uno::Reference< css::frame::XModel >& xModel,
+ ChartExport( sal_Int32 nXmlNamespace, ::sax_fastparser::FSHelperPtr pFS, css::uno::Reference< css::frame::XModel > const & xModel,
::oox::core::XmlFilterBase* pFB, DocumentType eDocumentType );
virtual ~ChartExport() {}
diff --git a/include/oox/helper/binaryoutputstream.hxx b/include/oox/helper/binaryoutputstream.hxx
index 796777f60209..2b954a66f49a 100644
--- a/include/oox/helper/binaryoutputstream.hxx
+++ b/include/oox/helper/binaryoutputstream.hxx
@@ -185,7 +185,7 @@ public:
wrapper. The data sequence MUST NOT be changed from outside as long
as this stream wrapper is used to write to it.
*/
- explicit SequenceOutputStream( StreamDataSequence& rData );
+ explicit SequenceOutputStream( StreamDataSequence const & rData );
/** Writes the passed data sequence. */
virtual void writeData( const StreamDataSequence& rData, size_t nAtomSize = 1 ) override;
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index 25a91398a201..59e56dc3cedd 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -219,7 +219,7 @@ public:
sal_uInt32 nOleColor ) const;
static void convertToMSColor(
- PropertySet& rPropSet,
+ PropertySet const & rPropSet,
sal_Int32 nPropId,
sal_uInt32& nOleColor,
sal_uInt32 nDefault = 0 );
@@ -236,7 +236,7 @@ public:
bool bHorizontal );
static void convertToMSOrientation(
- PropertySet& rPropMap,
+ PropertySet const & rPropMap,
bool& bHorizontal );
/** Converts the vertical alignment to UNO properties. */
@@ -281,7 +281,7 @@ public:
sal_Int32 nSpecialEffect ) const;
static void convertToAxBorder(
- PropertySet& rPropSet,
+ PropertySet const & rPropSet,
sal_uInt32& nBorderColor,
sal_Int32& nBorderStyle,
sal_Int32& nSpecialEffect );
@@ -292,7 +292,7 @@ public:
sal_Int32 nSpecialEffect );
static void convertToAxVisualEffect(
- PropertySet& rPropSet,
+ PropertySet const & rPropSet,
sal_Int32& nSpecialEffect );
/** Converts the passed picture stream and Forms 2.0 position to UNO
@@ -319,7 +319,7 @@ public:
bool bAwtModel );
static void convertToAxState(
- PropertySet& rPropSet,
+ PropertySet const & rPropSet,
OUString& rValue,
sal_Int32& nMultiSelect,
ApiDefaultStateMode eDefStateMode,
@@ -332,7 +332,7 @@ public:
sal_Int32 nOrientation );
static void convertToAxOrientation(
- PropertySet& rPropSet,
+ PropertySet const & rPropSet,
const AxPairData& rSize,
sal_Int32& nOrientation );
diff --git a/include/oox/ole/axcontrolfragment.hxx b/include/oox/ole/axcontrolfragment.hxx
index a741aed06794..cc11252aa418 100644
--- a/include/oox/ole/axcontrolfragment.hxx
+++ b/include/oox/ole/axcontrolfragment.hxx
@@ -41,7 +41,7 @@ class AxControlPropertyContext : public ::oox::core::ContextHandler2
{
public:
explicit AxControlPropertyContext(
- ::oox::core::FragmentHandler2& rFragment,
+ ::oox::core::FragmentHandler2 const & rFragment,
ControlModelBase& rModel );
virtual ::oox::core::ContextHandlerRef
diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx
index a0fe764e19c5..19b871ad27de 100644
--- a/include/oox/ole/olehelper.hxx
+++ b/include/oox/ole/olehelper.hxx
@@ -152,10 +152,10 @@ protected:
public:
MSConvertOCXControls( const css::uno::Reference< css::frame::XModel >& rxModel );
virtual ~MSConvertOCXControls() override;
- bool ReadOCXStorage( tools::SvRef<SotStorage>& rSrc1, css::uno::Reference< css::form::XFormComponent > & rxFormComp );
- bool ReadOCXCtlsStream(tools::SvRef<SotStorageStream>& rSrc1, css::uno::Reference< css::form::XFormComponent > & rxFormComp,
+ bool ReadOCXStorage( tools::SvRef<SotStorage> const & rSrc1, css::uno::Reference< css::form::XFormComponent > & rxFormComp );
+ bool ReadOCXCtlsStream(tools::SvRef<SotStorageStream> const & rSrc1, css::uno::Reference< css::form::XFormComponent > & rxFormComp,
sal_Int32 nPos, sal_Int32 nSize );
- static bool WriteOCXStream( const css::uno::Reference< css::frame::XModel >& rxModel, tools::SvRef<SotStorage> &rSrc1, const css::uno::Reference< css::awt::XControlModel > &rControlModel, const css::awt::Size& rSize,OUString &rName);
+ static bool WriteOCXStream( const css::uno::Reference< css::frame::XModel >& rxModel, tools::SvRef<SotStorage> const &rSrc1, const css::uno::Reference< css::awt::XControlModel > &rControlModel, const css::awt::Size& rSize,OUString &rName);
static bool WriteOCXExcelKludgeStream( const css::uno::Reference< css::frame::XModel >& rxModel, const css::uno::Reference< css::io::XOutputStream >& xOutStrm, const css::uno::Reference< css::awt::XControlModel > &rControlModel, const css::awt::Size& rSize,OUString &rName);
};
diff --git a/include/oox/ole/vbaproject.hxx b/include/oox/ole/vbaproject.hxx
index 4e6aacf24ad6..8e170324e9f4 100644
--- a/include/oox/ole/vbaproject.hxx
+++ b/include/oox/ole/vbaproject.hxx
@@ -146,7 +146,7 @@ public:
/** Attaches VBA macros to objects registered via registerMacroAttacher(). */
void attachMacros();
- void setOleOverridesSink( css::uno::Reference< css::container::XNameContainer >& rxOleOverridesSink ){ mxOleOverridesSink = rxOleOverridesSink; }
+ void setOleOverridesSink( css::uno::Reference< css::container::XNameContainer > const & rxOleOverridesSink ){ mxOleOverridesSink = rxOleOverridesSink; }
protected:
/** Registers a dummy module that will be created when the VBA project is
diff --git a/include/oox/ppt/backgroundproperties.hxx b/include/oox/ppt/backgroundproperties.hxx
index ce8925db93b8..c1cb3c13fc64 100644
--- a/include/oox/ppt/backgroundproperties.hxx
+++ b/include/oox/ppt/backgroundproperties.hxx
@@ -33,7 +33,7 @@ namespace oox { namespace ppt {
class BackgroundPropertiesContext : public ::oox::core::FragmentHandler2
{
public:
- BackgroundPropertiesContext( ::oox::core::FragmentHandler2& rParent, ::oox::drawingml::FillProperties& rFillProperties );
+ BackgroundPropertiesContext( ::oox::core::FragmentHandler2 const & rParent, ::oox::drawingml::FillProperties& rFillProperties );
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
protected:
diff --git a/include/oox/ppt/customshowlistcontext.hxx b/include/oox/ppt/customshowlistcontext.hxx
index 34964697181e..216e43fe9d36 100644
--- a/include/oox/ppt/customshowlistcontext.hxx
+++ b/include/oox/ppt/customshowlistcontext.hxx
@@ -45,7 +45,7 @@ namespace oox { namespace ppt {
std::vector< CustomShow >& mrCustomShowList;
public:
- CustomShowListContext( ::oox::core::FragmentHandler2& rParent,
+ CustomShowListContext( ::oox::core::FragmentHandler2 const & rParent,
std::vector< CustomShow >& rCustomShowList );
virtual ~CustomShowListContext( ) override;
diff --git a/include/oox/ppt/pptgraphicshapecontext.hxx b/include/oox/ppt/pptgraphicshapecontext.hxx
index ba01f726c552..14e57633e0c1 100644
--- a/include/oox/ppt/pptgraphicshapecontext.hxx
+++ b/include/oox/ppt/pptgraphicshapecontext.hxx
@@ -36,7 +36,7 @@ class PPTGraphicShapeContext : public ::oox::drawingml::GraphicShapeContext
SlidePersistPtr mpSlidePersistPtr;
public:
- PPTGraphicShapeContext( ::oox::core::ContextHandler2Helper& rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr );
+ PPTGraphicShapeContext( ::oox::core::ContextHandler2Helper const & rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr );
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
};
diff --git a/include/oox/ppt/pptshapecontext.hxx b/include/oox/ppt/pptshapecontext.hxx
index c58296ff0ccd..6996fe730bd6 100644
--- a/include/oox/ppt/pptshapecontext.hxx
+++ b/include/oox/ppt/pptshapecontext.hxx
@@ -36,7 +36,7 @@ class PPTShapeContext : public ::oox::drawingml::ShapeContext
SlidePersistPtr mpSlidePersistPtr;
public:
- PPTShapeContext( ::oox::core::ContextHandler2Helper& rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr );
+ PPTShapeContext( ::oox::core::ContextHandler2Helper const & rParent, const SlidePersistPtr& rSlidePersistPtr, const oox::drawingml::ShapePtr& pMasterShapePtr, const oox::drawingml::ShapePtr& pShapePtr );
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
};
diff --git a/include/oox/ppt/pptshapegroupcontext.hxx b/include/oox/ppt/pptshapegroupcontext.hxx
index 011cdff62a86..de497635d34d 100644
--- a/include/oox/ppt/pptshapegroupcontext.hxx
+++ b/include/oox/ppt/pptshapegroupcontext.hxx
@@ -44,7 +44,7 @@ class PPTShapeGroupContext : public ::oox::drawingml::ShapeGroupContext
public:
PPTShapeGroupContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
const oox::ppt::SlidePersistPtr& rSlidePersistPtr,
const oox::ppt::ShapeLocation eShapeLocation,
const oox::drawingml::ShapePtr& pMasterShapePtr,
diff --git a/include/oox/ppt/pptshapepropertiescontext.hxx b/include/oox/ppt/pptshapepropertiescontext.hxx
index dffa4795ae28..7e2039a7c794 100644
--- a/include/oox/ppt/pptshapepropertiescontext.hxx
+++ b/include/oox/ppt/pptshapepropertiescontext.hxx
@@ -35,7 +35,7 @@ namespace oox { namespace ppt {
class PPTShapePropertiesContext : public ::oox::drawingml::ShapePropertiesContext
{
public:
- PPTShapePropertiesContext( ::oox::core::ContextHandler2Helper& rParent, ::oox::drawingml::Shape& rShape );
+ PPTShapePropertiesContext( ::oox::core::ContextHandler2Helper const & rParent, ::oox::drawingml::Shape& rShape );
virtual ::oox::core::ContextHandlerRef
onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
};
diff --git a/include/oox/ppt/slidemastertextstylescontext.hxx b/include/oox/ppt/slidemastertextstylescontext.hxx
index a5ca1c2372b2..109732f8302a 100644
--- a/include/oox/ppt/slidemastertextstylescontext.hxx
+++ b/include/oox/ppt/slidemastertextstylescontext.hxx
@@ -32,7 +32,7 @@ namespace oox { namespace ppt {
class SlideMasterTextStylesContext : public oox::core::FragmentHandler2
{
public:
- SlideMasterTextStylesContext( ::oox::core::FragmentHandler2& rParent, SlidePersistPtr const & pSlidePersistPtr );
+ SlideMasterTextStylesContext( ::oox::core::FragmentHandler2 const & rParent, SlidePersistPtr const & pSlidePersistPtr );
virtual ~SlideMasterTextStylesContext() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidetimingcontext.hxx b/include/oox/ppt/slidetimingcontext.hxx
index de936ad2a205..f1c428682db2 100644
--- a/include/oox/ppt/slidetimingcontext.hxx
+++ b/include/oox/ppt/slidetimingcontext.hxx
@@ -32,7 +32,7 @@ namespace oox { namespace ppt {
class SlideTimingContext : public ::oox::core::FragmentHandler2
{
public:
- SlideTimingContext( ::oox::core::FragmentHandler2& rParent, TimeNodePtrList & aTimeNodeList ) throw();
+ SlideTimingContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aTimeNodeList ) throw();
virtual ~SlideTimingContext() throw() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidetransitioncontext.hxx b/include/oox/ppt/slidetransitioncontext.hxx
index 4edaa3fcae9f..3361fd07a5a5 100644
--- a/include/oox/ppt/slidetransitioncontext.hxx
+++ b/include/oox/ppt/slidetransitioncontext.hxx
@@ -35,7 +35,7 @@ namespace oox { namespace ppt {
class SlideTransitionContext : public ::oox::core::FragmentHandler2
{
public:
- SlideTransitionContext( ::oox::core::FragmentHandler2& rParent,
+ SlideTransitionContext( ::oox::core::FragmentHandler2 const & rParent,
const AttributeList& rAttributes,
PropertyMap & aProperties ) throw();
virtual ~SlideTransitionContext() throw() override;
diff --git a/include/oox/ppt/soundactioncontext.hxx b/include/oox/ppt/soundactioncontext.hxx
index 4680332a4fe4..99435959c472 100644
--- a/include/oox/ppt/soundactioncontext.hxx
+++ b/include/oox/ppt/soundactioncontext.hxx
@@ -36,7 +36,7 @@ namespace oox { namespace ppt {
class SoundActionContext : public ::oox::core::FragmentHandler2
{
public:
- SoundActionContext( ::oox::core::FragmentHandler2& rParent, PropertyMap & aProperties ) throw();
+ SoundActionContext( ::oox::core::FragmentHandler2 const & rParent, PropertyMap & aProperties ) throw();
virtual ~SoundActionContext() throw() override;
virtual void onEndElement() override;
diff --git a/include/oox/ppt/timenodelistcontext.hxx b/include/oox/ppt/timenodelistcontext.hxx
index 1012f7328c7b..e592cc289f33 100644
--- a/include/oox/ppt/timenodelistcontext.hxx
+++ b/include/oox/ppt/timenodelistcontext.hxx
@@ -40,10 +40,10 @@ namespace oox { namespace ppt {
public:
virtual ~TimeNodeContext() throw() override;
- static TimeNodeContext * SAL_CALL makeContext( ::oox::core::FragmentHandler2& rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode );
+ static TimeNodeContext * SAL_CALL makeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode );
protected:
- TimeNodeContext( ::oox::core::FragmentHandler2& rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw();
+ TimeNodeContext( ::oox::core::FragmentHandler2 const & rParent, sal_Int32 aElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ) throw();
sal_Int32 mnElement;
TimeNodePtr mpNode;
@@ -54,7 +54,7 @@ namespace oox { namespace ppt {
class TimeNodeListContext : public ::oox::core::FragmentHandler2
{
public:
- TimeNodeListContext( ::oox::core::FragmentHandler2& rParent, TimeNodePtrList & aList ) throw();
+ TimeNodeListContext( ::oox::core::FragmentHandler2 const & rParent, TimeNodePtrList & aList ) throw();
virtual ~TimeNodeListContext() throw() override;
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx
index 44f973b57169..cad99b719c26 100644
--- a/include/oox/vml/vmlshape.hxx
+++ b/include/oox/vml/vmlshape.hxx
@@ -295,7 +295,7 @@ protected:
/** Used by both RectangleShape and ComplexShape. */
css::uno::Reference<css::drawing::XShape>createPictureObject(
const css::uno::Reference< css::drawing::XShapes >& rxShapes,
- const css::awt::Rectangle& rShapeRect, OUString& rGraphicPath ) const;
+ const css::awt::Rectangle& rShapeRect, OUString const & rGraphicPath ) const;
private:
OUString maService; ///< Name of the UNO shape service.
diff --git a/include/oox/vml/vmlshapecontext.hxx b/include/oox/vml/vmlshapecontext.hxx
index 1c1565b62397..fe7afb417b52 100644
--- a/include/oox/vml/vmlshapecontext.hxx
+++ b/include/oox/vml/vmlshapecontext.hxx
@@ -49,7 +49,7 @@ class ShapeLayoutContext : public ::oox::core::ContextHandler2
{
public:
explicit ShapeLayoutContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
Drawing& rDrawing );
virtual ::oox::core::ContextHandlerRef
@@ -64,7 +64,7 @@ class ClientDataContext : public ::oox::core::ContextHandler2
{
public:
explicit ClientDataContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
ClientData& rClientData,
const AttributeList& rAttribs );
@@ -84,13 +84,13 @@ class ShapeContextBase : public ::oox::core::ContextHandler2
public:
static ::oox::core::ContextHandlerRef
createShapeContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
ShapeContainer& rShapes,
sal_Int32 nElement,
const AttributeList& rAttribs );
protected:
- explicit ShapeContextBase( ::oox::core::ContextHandler2Helper& rParent );
+ explicit ShapeContextBase( ::oox::core::ContextHandler2Helper const & rParent );
};
@@ -98,7 +98,7 @@ class ShapeTypeContext : public ShapeContextBase
{
public:
explicit ShapeTypeContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
ShapeType& rShapeType,
const AttributeList& rAttribs );
@@ -121,7 +121,7 @@ class ShapeContext : public ShapeTypeContext
{
public:
explicit ShapeContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
ShapeBase& rShape,
const AttributeList& rAttribs );
@@ -154,7 +154,7 @@ class GroupShapeContext : public ShapeContext
{
public:
explicit GroupShapeContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
GroupShape& rShape,
const AttributeList& rAttribs );
@@ -170,7 +170,7 @@ class RectangleShapeContext : public ShapeContext
{
public:
explicit RectangleShapeContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
const AttributeList& rAttribs,
RectangleShape& rShape );
diff --git a/include/oox/vml/vmltextboxcontext.hxx b/include/oox/vml/vmltextboxcontext.hxx
index 801cccb13a3d..c31ddf6c5029 100644
--- a/include/oox/vml/vmltextboxcontext.hxx
+++ b/include/oox/vml/vmltextboxcontext.hxx
@@ -39,9 +39,9 @@ class TextPortionContext : public ::oox::core::ContextHandler2
{
public:
explicit TextPortionContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
TextBox& rTextBox,
- TextParagraphModel& rParagraph,
+ TextParagraphModel const & rParagraph,
const TextFontModel& rParentFont,
sal_Int32 nElement,
const AttributeList& rAttribs );
@@ -64,7 +64,7 @@ class TextBoxContext : public ::oox::core::ContextHandler2
{
public:
explicit TextBoxContext(
- ::oox::core::ContextHandler2Helper& rParent,
+ ::oox::core::ContextHandler2Helper const & rParent,
TextBox& rTextBox,
const AttributeList& rAttribs,
const GraphicHelper& graphicHelper );