summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-19 16:55:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-19 16:55:06 +0200
commit8f30da6386fa414b9fe4c704b294a978df77347b (patch)
tree980e4018acff7a24a6399e33d7e1897fa6c9308c /include
parent9e310a4705ce956551059040696166aefb2388cb (diff)
Some clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &". Change-Id: Ia8d0aba5da10ad6b25f8689e2281e45b3d71c1fc
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/dbcharset.hxx2
-rw-r--r--include/oox/core/fragmenthandler.hxx2
-rw-r--r--include/oox/drawingml/shapecontext.hxx2
-rw-r--r--include/oox/drawingml/shapegroupcontext.hxx2
-rw-r--r--include/oox/export/vmlexport.hxx2
-rw-r--r--include/oox/ppt/slidemastertextstylescontext.hxx2
-rw-r--r--include/oox/ppt/slidepersist.hxx2
-rw-r--r--include/ucbhelper/std_inputstream.hxx2
-rw-r--r--include/ucbhelper/std_outputstream.hxx2
-rw-r--r--include/vcl/fontcharmap.hxx2
10 files changed, 10 insertions, 10 deletions
diff --git a/include/connectivity/dbcharset.hxx b/include/connectivity/dbcharset.hxx
index 8c7e9def1ce1..d4ef414fe704 100644
--- a/include/connectivity/dbcharset.hxx
+++ b/include/connectivity/dbcharset.hxx
@@ -144,7 +144,7 @@ namespace dbtools
const CharsetIterator& operator--();
protected:
- CharsetIterator(const OCharsetMap* _pContainer, OCharsetMap::TextEncBag::const_iterator _aPos );
+ CharsetIterator(const OCharsetMap* _pContainer, OCharsetMap::TextEncBag::const_iterator const & _aPos );
};
diff --git a/include/oox/core/fragmenthandler.hxx b/include/oox/core/fragmenthandler.hxx
index 3dd37aee5a3a..7077a3322cb6 100644
--- a/include/oox/core/fragmenthandler.hxx
+++ b/include/oox/core/fragmenthandler.hxx
@@ -64,7 +64,7 @@ struct FragmentBaseData
explicit FragmentBaseData(
XmlFilterBase& rFilter,
const OUString& rFragmentPath,
- RelationsRef xRelations );
+ RelationsRef const & xRelations );
};
diff --git a/include/oox/drawingml/shapecontext.hxx b/include/oox/drawingml/shapecontext.hxx
index 9d73a2105609..95a1ac08bd6c 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 pMasterShapePtr, ShapePtr pShapePtr );
+ ShapeContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pShapePtr );
virtual ~ShapeContext();
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 c702bfbfd5c0..07b8538ea268 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 pMasterShapePtr, ShapePtr pGroupShapePtr );
+ ShapeGroupContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pGroupShapePtr );
virtual ~ShapeGroupContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) override;
diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx
index 37b2af0b8305..6624cdfb72bd 100644
--- a/include/oox/export/vmlexport.hxx
+++ b/include/oox/export/vmlexport.hxx
@@ -105,7 +105,7 @@ class OOX_DLLPUBLIC VMLExport : public EscherEx
bool *m_pShapeTypeWritten;
public:
- VMLExport( ::sax_fastparser::FSHelperPtr pSerializer, VMLTextExport* pTextExport = nullptr );
+ VMLExport( ::sax_fastparser::FSHelperPtr const & pSerializer, VMLTextExport* pTextExport = nullptr );
virtual ~VMLExport();
const ::sax_fastparser::FSHelperPtr&
diff --git a/include/oox/ppt/slidemastertextstylescontext.hxx b/include/oox/ppt/slidemastertextstylescontext.hxx
index d00f3fc623c8..f70cbd4768d1 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 pSlidePersistPtr );
+ SlideMasterTextStylesContext( ::oox::core::FragmentHandler2& rParent, SlidePersistPtr const & pSlidePersistPtr );
virtual ~SlideMasterTextStylesContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
diff --git a/include/oox/ppt/slidepersist.hxx b/include/oox/ppt/slidepersist.hxx
index 09344a7f85fd..ae6d8b2b1680 100644
--- a/include/oox/ppt/slidepersist.hxx
+++ b/include/oox/ppt/slidepersist.hxx
@@ -64,7 +64,7 @@ class SlidePersist : public std::enable_shared_from_this< SlidePersist >
public:
SlidePersist( oox::core::XmlFilterBase& rFilter, bool bMaster, bool bNotes,
const css::uno::Reference< css::drawing::XDrawPage >&,
- oox::drawingml::ShapePtr pShapesPtr, const ::oox::drawingml::TextListStylePtr & );
+ oox::drawingml::ShapePtr const & pShapesPtr, const ::oox::drawingml::TextListStylePtr & );
~SlidePersist();
const css::uno::Reference< css::drawing::XDrawPage >& getPage() const { return mxPage; };
diff --git a/include/ucbhelper/std_inputstream.hxx b/include/ucbhelper/std_inputstream.hxx
index 5c217ccb9546..569713366d9c 100644
--- a/include/ucbhelper/std_inputstream.hxx
+++ b/include/ucbhelper/std_inputstream.hxx
@@ -34,7 +34,7 @@ namespace ucbhelper
{
public:
- StdInputStream( boost::shared_ptr< std::istream > pStream );
+ StdInputStream( boost::shared_ptr< std::istream > const & pStream );
virtual ~StdInputStream();
diff --git a/include/ucbhelper/std_outputstream.hxx b/include/ucbhelper/std_outputstream.hxx
index c945b479b6c3..0537ee700fef 100644
--- a/include/ucbhelper/std_outputstream.hxx
+++ b/include/ucbhelper/std_outputstream.hxx
@@ -30,7 +30,7 @@ namespace ucbhelper
{
public:
- StdOutputStream( boost::shared_ptr< std::ostream > pStream );
+ StdOutputStream( boost::shared_ptr< std::ostream > const & pStream );
virtual ~StdOutputStream( );
diff --git a/include/vcl/fontcharmap.hxx b/include/vcl/fontcharmap.hxx
index c77ed3156870..c70b2e0c7cd9 100644
--- a/include/vcl/fontcharmap.hxx
+++ b/include/vcl/fontcharmap.hxx
@@ -144,7 +144,7 @@ private:
int findRangeIndex( sal_uInt32 ) const;
- FontCharMap( ImplFontCharMapPtr pIFCMap );
+ FontCharMap( ImplFontCharMapPtr const & pIFCMap );
sal_uInt32 mnRefCount;