summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 09:28:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 10:25:42 +0200
commit9fd9d25d04709a3ec6957f6b40d5534bec86ed6a (patch)
tree88510976a66c6d3159e777244c4a96190c0473f5 /filter
parent545c6fdd8267354d74d3d3a6fc6641fd7c25a0dc (diff)
loplugin:constparams in filter
Change-Id: I938375bd3072dbc00e4b8c2e6d53c5c4c6ef0e7c Reviewed-on: https://gerrit.libreoffice.org/40580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx4
-rw-r--r--filter/source/msfilter/svdfppt.cxx12
-rw-r--r--filter/source/xsltdialog/typedetectionexport.cxx2
-rw-r--r--filter/source/xsltdialog/typedetectionexport.hxx2
4 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index a8c5be66ab27..a75afd369bea 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -4689,9 +4689,9 @@ void EscherSolverContainer::AddShape( const css::uno::Reference< css::drawing::X
void EscherSolverContainer::AddConnector(
const css::uno::Reference< css::drawing::XShape > & rConnector,
const css::awt::Point& rPA,
- css::uno::Reference< css::drawing::XShape > & rConA,
+ css::uno::Reference< css::drawing::XShape > const & rConA,
const css::awt::Point& rPB,
- css::uno::Reference< css::drawing::XShape > & rConB
+ css::uno::Reference< css::drawing::XShape > const & rConB
)
{
maConnectorList.push_back( new EscherConnectorListEntry( rConnector, rPA, rConA, rPB, rConB ) );
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 9138b39ce517..834b8927561d 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -3154,7 +3154,7 @@ void SdrEscherImport::ImportHeaderFooterContainer( DffRecordHeader const & rHd,
}
}
-PPTBuGraEntry::PPTBuGraEntry( Graphic& rGraphic, sal_uInt32 nInst ) :
+PPTBuGraEntry::PPTBuGraEntry( Graphic const & rGraphic, sal_uInt32 nInst ) :
nInstance ( nInst ),
aBuGra ( rGraphic ) {}
@@ -4533,12 +4533,12 @@ PPTTextRulerInterpreter::PPTTextRulerInterpreter() :
{
}
-PPTTextRulerInterpreter::PPTTextRulerInterpreter( PPTTextRulerInterpreter& rRuler )
+PPTTextRulerInterpreter::PPTTextRulerInterpreter( PPTTextRulerInterpreter const & rRuler )
{
mxImplRuler = rRuler.mxImplRuler;
}
-PPTTextRulerInterpreter::PPTTextRulerInterpreter( sal_uInt32 nFileOfs, DffRecordHeader& rHeader, SvStream& rIn ) :
+PPTTextRulerInterpreter::PPTTextRulerInterpreter( sal_uInt32 nFileOfs, DffRecordHeader const & rHeader, SvStream& rIn ) :
mxImplRuler ( new PPTRuler() )
{
if ( nFileOfs != 0xffffffff )
@@ -4841,7 +4841,7 @@ void StyleTextProp9::Read( SvStream& rIn )
}
PPTStyleTextPropReader::PPTStyleTextPropReader( SvStream& rIn, const DffRecordHeader& rTextHeader,
- PPTTextRulerInterpreter& rRuler, const DffRecordHeader& rExtParaHd, TSS_Type nInstance )
+ PPTTextRulerInterpreter const & rRuler, const DffRecordHeader& rExtParaHd, TSS_Type nInstance )
{
Init(rIn, rTextHeader, rRuler, rExtParaHd, nInstance);
}
@@ -5838,7 +5838,7 @@ PPTParagraphObj::PPTParagraphObj( const PPTStyleSheet& rStyleSheet, TSS_Type nIn
PPTParagraphObj::PPTParagraphObj( PPTStyleTextPropReader& rPropReader,
size_t const nCurParaPos, size_t& rnCurCharPos,
const PPTStyleSheet& rStyleSheet,
- TSS_Type nInstance, PPTTextRulerInterpreter& rRuler ) :
+ TSS_Type nInstance, PPTTextRulerInterpreter const & rRuler ) :
PPTParaPropSet ( *rPropReader.aParaPropList[nCurParaPos] ),
PPTNumberFormatCreator ( nullptr ),
PPTTextRulerInterpreter ( rRuler ),
@@ -7114,7 +7114,7 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport
}
}
-PPTTextObj::PPTTextObj( PPTTextObj& rTextObj )
+PPTTextObj::PPTTextObj( PPTTextObj const & rTextObj )
{
mxImplTextObj = rTextObj.mxImplTextObj;
}
diff --git a/filter/source/xsltdialog/typedetectionexport.cxx b/filter/source/xsltdialog/typedetectionexport.cxx
index 386f47509dcb..1219e3cf21d9 100644
--- a/filter/source/xsltdialog/typedetectionexport.cxx
+++ b/filter/source/xsltdialog/typedetectionexport.cxx
@@ -36,7 +36,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::xml::sax;
-TypeDetectionExporter::TypeDetectionExporter( Reference< XComponentContext >& xContext )
+TypeDetectionExporter::TypeDetectionExporter( Reference< XComponentContext > const & xContext )
: mxContext( xContext )
{
}
diff --git a/filter/source/xsltdialog/typedetectionexport.hxx b/filter/source/xsltdialog/typedetectionexport.hxx
index 7081a1441f94..2f2ed5732810 100644
--- a/filter/source/xsltdialog/typedetectionexport.hxx
+++ b/filter/source/xsltdialog/typedetectionexport.hxx
@@ -28,7 +28,7 @@
class TypeDetectionExporter
{
public:
- explicit TypeDetectionExporter( css::uno::Reference< css::uno::XComponentContext >& mxContext );
+ explicit TypeDetectionExporter( css::uno::Reference< css::uno::XComponentContext > const & mxContext );
void doExport(const css::uno::Reference < css::io::XOutputStream >& xOS, const XMLFilterVector& rFilters );