summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 09:55:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 10:49:12 +0200
commit00c9cb7318bbbe593517647c8bfa3e7327191f83 (patch)
tree7ba389df06841ab72cc14a561ad86ad43a927431
parent0c840d9bf308464d58a2df8aaa1e61481b5e4f52 (diff)
loplugin:constparams in filter
Change-Id: I0ba463fcaff4c449f762a7969e0feab659b37adf Reviewed-on: https://gerrit.libreoffice.org/40471 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--filter/source/config/cache/typedetection.cxx4
-rw-r--r--filter/source/config/cache/typedetection.hxx4
-rw-r--r--filter/source/flash/swfexporter.cxx14
-rw-r--r--filter/source/flash/swfexporter.hxx14
-rw-r--r--filter/source/flash/swfwriter.cxx4
-rw-r--r--filter/source/flash/swfwriter.hxx10
-rw-r--r--filter/source/flash/swfwriter1.cxx8
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx24
-rw-r--r--filter/source/graphicfilter/etiff/etiff.cxx4
-rw-r--r--filter/source/graphicfilter/icgm/actimpr.cxx14
-rw-r--r--filter/source/graphicfilter/icgm/bundles.cxx4
-rw-r--r--filter/source/graphicfilter/icgm/bundles.hxx4
-rw-r--r--filter/source/graphicfilter/icgm/cgm.hxx2
-rw-r--r--filter/source/graphicfilter/icgm/class4.cxx2
-rw-r--r--filter/source/graphicfilter/icgm/outact.hxx14
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx2
-rw-r--r--filter/source/msfilter/escherex.cxx12
-rw-r--r--filter/source/msfilter/msdffimp.cxx8
-rw-r--r--filter/source/msfilter/msoleexp.cxx2
-rw-r--r--filter/source/msfilter/msvbahelper.cxx6
-rw-r--r--filter/source/msfilter/svdfppt.cxx32
-rw-r--r--filter/source/pdf/pdfexport.cxx2
-rw-r--r--filter/source/pdf/pdfexport.hxx2
-rw-r--r--filter/source/svg/svgfontexport.cxx2
-rw-r--r--filter/source/svg/svgfontexport.hxx2
-rw-r--r--filter/source/svg/svgreader.cxx10
-rw-r--r--filter/source/xsltdialog/xmlfiltercommon.hxx2
-rw-r--r--filter/source/xsltdialog/xmlfilterjar.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltertabpagexslt.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltertabpagexslt.hxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx6
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.hxx2
-rw-r--r--include/filter/msfilter/escherex.hxx6
-rw-r--r--include/filter/msfilter/msdffimp.hxx8
-rw-r--r--include/filter/msfilter/msoleexp.hxx2
-rw-r--r--include/filter/msfilter/msvbahelper.hxx4
-rw-r--r--include/filter/msfilter/svdfppt.hxx24
38 files changed, 134 insertions, 134 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 3469c8e7f105..9d5e5844c46f 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -796,7 +796,7 @@ OUString TypeDetection::impl_getTypeFromFilter(const OUString& rFilterName)
}
void TypeDetection::impl_getAllFormatTypes(
- const util::URL& aParsedURL, utl::MediaDescriptor& rDescriptor, FlatDetection& rFlatTypes)
+ const util::URL& aParsedURL, utl::MediaDescriptor const & rDescriptor, FlatDetection& rFlatTypes)
{
rFlatTypes.clear();
@@ -956,7 +956,7 @@ OUString TypeDetection::impl_detectTypeFlatAndDeep( utl::MediaDescriptor& r
// <- SAFE ----------------------------------
}
-void TypeDetection::impl_seekStreamToZero(utl::MediaDescriptor& rDescriptor)
+void TypeDetection::impl_seekStreamToZero(utl::MediaDescriptor const & rDescriptor)
{
// try to seek to 0 ...
// But because XSeekable is an optional interface ... try it only .-)
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index b8dfc1c48cff..d4fe0b6a4ba3 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -75,7 +75,7 @@ private:
* Get all format types that we handle.
*/
void impl_getAllFormatTypes(
- const css::util::URL& aParsedURL, utl::MediaDescriptor& rDescriptor,
+ const css::util::URL& aParsedURL, utl::MediaDescriptor const & rDescriptor,
FlatDetection& rFlatTypes);
@@ -140,7 +140,7 @@ private:
@param rDescriptor
a stl representation of the MediaDescriptor as in/out parameter.
*/
- static void impl_seekStreamToZero(utl::MediaDescriptor& rDescriptor);
+ static void impl_seekStreamToZero(utl::MediaDescriptor const & rDescriptor);
/** @short make deep type detection for a specified
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index 19976c37fd2f..7f52201540c9 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -120,7 +120,7 @@ const sal_uInt16 cBackgroundObjectsDepth = 3;
const sal_uInt16 cPageObjectsDepth = 4;
const sal_uInt16 cWaitButtonDepth = 10;
-bool FlashExporter::exportAll( const Reference< XComponent >& xDoc, Reference< XOutputStream > &xOutputStream, Reference< XStatusIndicator> &xStatusIndicator )
+bool FlashExporter::exportAll( const Reference< XComponent >& xDoc, Reference< XOutputStream > const &xOutputStream, Reference< XStatusIndicator> const &xStatusIndicator )
{
Reference< XServiceInfo > xDocServInfo( xDoc, UNO_QUERY );
if( xDocServInfo.is() )
@@ -262,7 +262,7 @@ bool FlashExporter::exportAll( const Reference< XComponent >& xDoc, Reference< X
}
-bool FlashExporter::exportSlides( const Reference< XDrawPage >& xDrawPage, Reference< XOutputStream > &xOutputStream )
+bool FlashExporter::exportSlides( const Reference< XDrawPage >& xDrawPage, Reference< XOutputStream > const &xOutputStream )
{
Reference< XPropertySet > xPropSet( xDrawPage, UNO_QUERY );
if( !xDrawPage.is() || !xPropSet.is() )
@@ -298,7 +298,7 @@ bool FlashExporter::exportSlides( const Reference< XDrawPage >& xDrawPage, Refer
return true;
}
-sal_uInt16 FlashExporter::exportBackgrounds( const Reference< XDrawPage >& xDrawPage, Reference< XOutputStream > &xOutputStream, sal_uInt16 nPage, bool bExportObjects )
+sal_uInt16 FlashExporter::exportBackgrounds( const Reference< XDrawPage >& xDrawPage, Reference< XOutputStream > const &xOutputStream, sal_uInt16 nPage, bool bExportObjects )
{
Reference< XPropertySet > xPropSet( xDrawPage, UNO_QUERY );
if( !xDrawPage.is() || !xPropSet.is() )
@@ -459,7 +459,7 @@ sal_uInt16 FlashExporter::exportDrawPageBackground(sal_uInt16 nPage, Reference<
return nPage;
}
-sal_uInt16 FlashExporter::exportMasterPageObjects(sal_uInt16 nPage, Reference< XDrawPage >& xMasterPage)
+sal_uInt16 FlashExporter::exportMasterPageObjects(sal_uInt16 nPage, Reference< XDrawPage > const & xMasterPage)
{
Reference< XShapes > xShapes( xMasterPage, UNO_QUERY );
@@ -619,7 +619,7 @@ void FlashExporter::exportShape( const Reference< XShape >& xShape, bool bMaster
}
-bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile& rMtf, bool bOnlyBackground /* = false */, bool bExportAsJPEG /* = false */)
+bool FlashExporter::getMetaFile( Reference< XComponent > const &xComponent, GDIMetaFile& rMtf, bool bOnlyBackground /* = false */, bool bExportAsJPEG /* = false */)
{
if( !mxGraphicExporter.is() )
mxGraphicExporter = GraphicExportFilter::create( mxContext );
@@ -707,7 +707,7 @@ bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile
return rMtf.GetActionSize() != 0;
}
-BitmapChecksum FlashExporter::ActionSummer(Reference< XShape >& xShape)
+BitmapChecksum FlashExporter::ActionSummer(Reference< XShape > const & xShape)
{
Reference< XShapes > xShapes( xShape, UNO_QUERY );
@@ -726,7 +726,7 @@ BitmapChecksum FlashExporter::ActionSummer(Reference< XShape >& xShape)
}
}
-BitmapChecksum FlashExporter::ActionSummer(Reference< XShapes >& xShapes)
+BitmapChecksum FlashExporter::ActionSummer(Reference< XShapes > const & xShapes)
{
sal_uInt32 nShapeCount = xShapes->getCount();
BitmapChecksum shapecount = 0;
diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx
index 144f237588fd..b8ca54cdbfcd 100644
--- a/filter/source/flash/swfexporter.hxx
+++ b/filter/source/flash/swfexporter.hxx
@@ -85,9 +85,9 @@ public:
void Flush();
- bool exportAll( const css::uno::Reference< css::lang::XComponent >& xDoc, css::uno::Reference< css::io::XOutputStream > &xOutputStream, css::uno::Reference< css::task::XStatusIndicator> &xStatusIndicator );
- bool exportSlides( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > &xOutputStream);
- sal_uInt16 exportBackgrounds( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > &xOutputStream, sal_uInt16 nPage, bool bExportObjects );
+ bool exportAll( const css::uno::Reference< css::lang::XComponent >& xDoc, css::uno::Reference< css::io::XOutputStream > const &xOutputStream, css::uno::Reference< css::task::XStatusIndicator> const &xStatusIndicator );
+ bool exportSlides( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > const &xOutputStream);
+ sal_uInt16 exportBackgrounds( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > const &xOutputStream, sal_uInt16 nPage, bool bExportObjects );
sal_uInt16 exportBackgrounds( css::uno::Reference< css::drawing::XDrawPage > const & xDrawPage, sal_uInt16 nPage, bool bExportObjects );
ChecksumCache gMasterCache;
@@ -108,16 +108,16 @@ private:
::std::map<sal_uInt32, PageInfo> maPagesMap;
sal_uInt16 exportDrawPageBackground(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage > const & xPage);
- sal_uInt16 exportMasterPageObjects(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage >& xMasterPage);
+ sal_uInt16 exportMasterPageObjects(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage > const & xMasterPage);
void exportDrawPageContents( const css::uno::Reference< css::drawing::XDrawPage >& xPage, bool bStream, bool bMaster );
void exportShapes( const css::uno::Reference< css::drawing::XShapes >& xShapes, bool bStream, bool bMaster );
void exportShape( const css::uno::Reference< css::drawing::XShape >& xShape, bool bMaster);
- BitmapChecksum ActionSummer(css::uno::Reference< css::drawing::XShape >& xShape);
- BitmapChecksum ActionSummer(css::uno::Reference< css::drawing::XShapes >& xShapes);
+ BitmapChecksum ActionSummer(css::uno::Reference< css::drawing::XShape > const & xShape);
+ BitmapChecksum ActionSummer(css::uno::Reference< css::drawing::XShapes > const & xShapes);
- bool getMetaFile( css::uno::Reference< css::lang::XComponent >&xComponent, GDIMetaFile& rMtf, bool bOnlyBackground = false, bool bExportAsJPEG = false );
+ bool getMetaFile( css::uno::Reference< css::lang::XComponent > const &xComponent, GDIMetaFile& rMtf, bool bOnlyBackground = false, bool bExportAsJPEG = false );
Writer* mpWriter;
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index 9c99d8dfb607..92a2d8627a62 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -98,7 +98,7 @@ Writer::~Writer()
}
-void ImplCopySvStreamToXOutputStream( SvStream& rIn, Reference< XOutputStream > &xOut )
+void ImplCopySvStreamToXOutputStream( SvStream& rIn, Reference< XOutputStream > const &xOut )
{
sal_uInt32 nBufferSize = 64*1024;
@@ -128,7 +128,7 @@ void ImplCopySvStreamToXOutputStream( SvStream& rIn, Reference< XOutputStream >
}
-void Writer::storeTo( Reference< XOutputStream > &xOutStream )
+void Writer::storeTo( Reference< XOutputStream > const &xOutStream )
{
for(FontMap::iterator i = maFonts.begin(); i != maFonts.end(); ++i)
{
diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index b1640de9a80e..7afb1718e431 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -250,7 +250,7 @@ public:
Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int32 nDocWidth, sal_Int32 nDocHeight, sal_Int32 nJPEGcompressMode );
~Writer();
- void storeTo( css::uno::Reference< css::io::XOutputStream > &xOutStream );
+ void storeTo( css::uno::Reference< css::io::XOutputStream > const &xOutStream );
// geometry
void setClipping( const tools::PolyPolygon* pClipPolyPolygon );
@@ -316,9 +316,9 @@ private:
void endTag();
sal_uInt16 createID() { return mnNextId++; }
- void Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 height, sal_uInt8 *pCompressed, sal_uInt32 compressed_size );
+ void Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 height, sal_uInt8 const *pCompressed, sal_uInt32 compressed_size );
void Impl_writeImage( const BitmapEx& rBmpEx, const Point& rPt, const Size& rSz, const Point& rSrcPt, const Size& rSrcSz, const tools::Rectangle& rClipRect, bool bMap );
- void Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal_uInt32 nJpgDataLength, sal_uInt8 *pCompressed, sal_uInt32 compressed_size );
+ void Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal_uInt32 nJpgDataLength, sal_uInt8 const *pCompressed, sal_uInt32 compressed_size );
void Impl_handleLineInfoPolyPolygons(const LineInfo& rInfo, const basegfx::B2DPolygon& rLinePolygon);
void Impl_writeActions( const GDIMetaFile& rMtf );
void Impl_writePolygon( const tools::Polygon& rPoly, bool bFilled );
@@ -331,8 +331,8 @@ private:
void Impl_writeLine( const Point& rPt1, const Point& rPt2, const Color* pLineColor = nullptr );
void Impl_writeRect( const tools::Rectangle& rRect, long nRadX, long nRadY );
void Impl_writeEllipse( const Point& rCenter, long nRadX, long nRadY );
- bool Impl_writeFilling( SvtGraphicFill& rFilling );
- bool Impl_writeStroke( SvtGraphicStroke& rStroke );
+ bool Impl_writeFilling( SvtGraphicFill const & rFilling );
+ bool Impl_writeStroke( SvtGraphicStroke const & rStroke );
FlashFont& Impl_getFont( const vcl::Font& rFont );
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 80521d6493c0..75b4e4c5904b 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -949,7 +949,7 @@ void Writer::Impl_writeImage( const BitmapEx& rBmpEx, const Point& rPt, const Si
}
-void Writer::Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 height, sal_uInt8 *pCompressed, sal_uInt32 compressed_size )
+void Writer::Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 height, sal_uInt8 const *pCompressed, sal_uInt32 compressed_size )
{
startTag( TAG_DEFINEBITSLOSSLESS2 );
@@ -964,7 +964,7 @@ void Writer::Impl_writeBmp( sal_uInt16 nBitmapId, sal_uInt32 width, sal_uInt32 h
}
-void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal_uInt32 nJpgDataLength, sal_uInt8 *pAlphaCompressed, sal_uInt32 alpha_compressed_size )
+void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal_uInt32 nJpgDataLength, sal_uInt8 const *pAlphaCompressed, sal_uInt32 alpha_compressed_size )
{
// AS: Go through the actual JPEG bits, separating out the
// header fields from the actual image fields. Fields are
@@ -1139,7 +1139,7 @@ void Writer::Impl_writeEllipse( const Point& rCenter, long nRadX, long nRadY )
/** Writes the stroke defined by SvtGraphicStroke and returns true or it returns
false if it can't handle this stroke.
*/
-bool Writer::Impl_writeStroke( SvtGraphicStroke& rStroke )
+bool Writer::Impl_writeStroke( SvtGraphicStroke const & rStroke )
{
tools::Polygon aPolygon;
rStroke.getPath( aPolygon );
@@ -1182,7 +1182,7 @@ bool Writer::Impl_writeStroke( SvtGraphicStroke& rStroke )
/** Writes the filling defined by SvtGraphicFill and returns true or it returns
false if it can't handle this filling.
*/
-bool Writer::Impl_writeFilling( SvtGraphicFill& rFilling )
+bool Writer::Impl_writeFilling( SvtGraphicFill const & rFilling )
{
tools::PolyPolygon aPolyPolygon;
rFilling.getPath( aPolyPolygon );
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index f84093afa558..93d216bc8cc9 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -188,7 +188,7 @@ private:
void ImplAddPath( const tools::Polygon & rPolygon );
void ImplWriteLineInfo( double fLineWidth, double fMiterLimit, SvtGraphicStroke::CapType eLineCap,
- SvtGraphicStroke::JoinType eJoinType, SvtGraphicStroke::DashArray& rDashArray );
+ SvtGraphicStroke::JoinType eJoinType, SvtGraphicStroke::DashArray const & rDashArray );
void ImplWriteLineInfo( const LineInfo& rLineInfo );
void ImplRect( const tools::Rectangle & rRectangle );
void ImplRectFill ( const tools::Rectangle & rRectangle );
@@ -197,12 +197,12 @@ private:
void ImplPolyPoly( const tools::PolyPolygon & rPolyPolygon, bool bTextOutline = false );
void ImplPolyLine( const tools::Polygon & rPolygon );
- void ImplSetClipRegion( vcl::Region& rRegion );
- void ImplBmp( Bitmap*, Bitmap*, const Point &, double nWidth, double nHeight );
- void ImplText( const OUString& rUniString, const Point& rPos, const long* pDXArry, sal_Int32 nWidth, VirtualDevice& rVDev );
+ void ImplSetClipRegion( vcl::Region const & rRegion );
+ void ImplBmp( Bitmap const *, Bitmap const *, const Point &, double nWidth, double nHeight );
+ void ImplText( const OUString& rUniString, const Point& rPos, const long* pDXArry, sal_Int32 nWidth, VirtualDevice const & rVDev );
void ImplSetAttrForText( const Point & rPoint );
void ImplWriteCharacter( sal_Char );
- void ImplWriteString( const OString&, VirtualDevice& rVDev, const long* pDXArry, bool bStretch );
+ void ImplWriteString( const OString&, VirtualDevice const & rVDev, const long* pDXArry, bool bStretch );
void ImplDefineFont( const char*, const char* );
void ImplClosePathDraw();
@@ -1600,7 +1600,7 @@ void PSWriter::ImplPolyLine( const tools::Polygon & rPoly )
}
}
-void PSWriter::ImplSetClipRegion( vcl::Region& rClipRegion )
+void PSWriter::ImplSetClipRegion( vcl::Region const & rClipRegion )
{
if ( !rClipRegion.IsEmpty() )
{
@@ -1644,7 +1644,7 @@ void PSWriter::ImplSetClipRegion( vcl::Region& rClipRegion )
// color 1(pal), 4(pal), 8(pal), 24 Bit
//
-void PSWriter::ImplBmp( Bitmap* pBitmap, Bitmap* pMaskBitmap, const Point & rPoint, double nXWidth, double nYHeightOrg )
+void PSWriter::ImplBmp( Bitmap const * pBitmap, Bitmap const * pMaskBitmap, const Point & rPoint, double nXWidth, double nYHeightOrg )
{
if ( !pBitmap )
return;
@@ -1957,7 +1957,7 @@ void PSWriter::ImplWriteCharacter( sal_Char nChar )
ImplWriteByte( (sal_uInt8)nChar, PS_NONE );
}
-void PSWriter::ImplWriteString( const OString& rString, VirtualDevice& rVDev, const long* pDXArry, bool bStretch )
+void PSWriter::ImplWriteString( const OString& rString, VirtualDevice const & rVDev, const long* pDXArry, bool bStretch )
{
sal_Int32 nLen = rString.getLength();
if ( nLen )
@@ -1987,7 +1987,7 @@ void PSWriter::ImplWriteString( const OString& rString, VirtualDevice& rVDev, co
}
}
-void PSWriter::ImplText( const OUString& rUniString, const Point& rPos, const long* pDXArry, sal_Int32 nWidth, VirtualDevice& rVDev )
+void PSWriter::ImplText( const OUString& rUniString, const Point& rPos, const long* pDXArry, sal_Int32 nWidth, VirtualDevice const & rVDev )
{
if ( rUniString.isEmpty() )
return;
@@ -2216,9 +2216,9 @@ inline void PSWriter::ImplWriteLine( const char* pString, sal_uLong nMode )
void PSWriter::ImplWriteLineInfo( double fLWidth, double fMLimit,
- SvtGraphicStroke::CapType eLCap,
- SvtGraphicStroke::JoinType eJoin,
- SvtGraphicStroke::DashArray& rLDash )
+ SvtGraphicStroke::CapType eLCap,
+ SvtGraphicStroke::JoinType eJoin,
+ SvtGraphicStroke::DashArray const & rLDash )
{
if ( fLineWidth != fLWidth )
{
diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx
index eb437f991ec1..5a77fad0fc23 100644
--- a/filter/source/graphicfilter/etiff/etiff.cxx
+++ b/filter/source/graphicfilter/etiff/etiff.cxx
@@ -107,7 +107,7 @@ public:
explicit TIFFWriter(SvStream &rStream);
- bool WriteTIFF( const Graphic& rGraphic, FilterConfigItem* pFilterConfigItem );
+ bool WriteTIFF( const Graphic& rGraphic, FilterConfigItem const * pFilterConfigItem );
};
@@ -144,7 +144,7 @@ TIFFWriter::TIFFWriter(SvStream &rStream)
}
-bool TIFFWriter::WriteTIFF( const Graphic& rGraphic, FilterConfigItem* pFilterConfigItem)
+bool TIFFWriter::WriteTIFF( const Graphic& rGraphic, FilterConfigItem const * pFilterConfigItem)
{
if ( pFilterConfigItem )
{
diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx
index 7e2e4be00981..16665f2e2445 100644
--- a/filter/source/graphicfilter/icgm/actimpr.cxx
+++ b/filter/source/graphicfilter/icgm/actimpr.cxx
@@ -118,7 +118,7 @@ bool CGMImpressOutAct::ImplCreateShape( const OUString& rType )
}
-void CGMImpressOutAct::ImplSetOrientation( FloatPoint& rRefPoint, double& rOrientation )
+void CGMImpressOutAct::ImplSetOrientation( FloatPoint const & rRefPoint, double rOrientation )
{
maXPropSet->setPropertyValue( "RotationPointX", uno::Any((sal_Int32)rRefPoint.X) );
maXPropSet->setPropertyValue( "RotationPointY", uno::Any((sal_Int32)rRefPoint.Y) );
@@ -431,7 +431,7 @@ void CGMImpressOutAct::EndGrouping()
}
}
-void CGMImpressOutAct::DrawRectangle( FloatRect& rFloatRect )
+void CGMImpressOutAct::DrawRectangle( FloatRect const & rFloatRect )
{
if ( mnGroupActCount != ( mpCGM->mnActCount - 1 ) ) // POWERPOINT HACK !!!
{
@@ -445,7 +445,7 @@ void CGMImpressOutAct::DrawRectangle( FloatRect& rFloatRect )
}
}
-void CGMImpressOutAct::DrawEllipse( FloatPoint& rCenter, FloatPoint& rSize, double& rOrientation )
+void CGMImpressOutAct::DrawEllipse( FloatPoint const & rCenter, FloatPoint const & rSize, double& rOrientation )
{
if ( ImplCreateShape( "com.sun.star.drawing.EllipseShape" ) )
{
@@ -470,7 +470,7 @@ void CGMImpressOutAct::DrawEllipse( FloatPoint& rCenter, FloatPoint& rSize, doub
}
}
-void CGMImpressOutAct::DrawEllipticalArc( FloatPoint& rCenter, FloatPoint& rSize, double& rOrientation,
+void CGMImpressOutAct::DrawEllipticalArc( FloatPoint const & rCenter, FloatPoint const & rSize, double& rOrientation,
sal_uInt32 nType, double& fStartAngle, double& fEndAngle )
{
if ( ImplCreateShape( "com.sun.star.drawing.EllipseShape" ) )
@@ -665,7 +665,7 @@ void CGMImpressOutAct::DrawPolybezier( tools::Polygon& rPolygon )
}
}
-void CGMImpressOutAct::DrawPolyPolygon( tools::PolyPolygon& rPolyPolygon )
+void CGMImpressOutAct::DrawPolyPolygon( tools::PolyPolygon const & rPolyPolygon )
{
sal_uInt32 nNumPolys = rPolyPolygon.Count();
if ( nNumPolys && ImplCreateShape( "com.sun.star.drawing.ClosedBezierShape" ) )
@@ -708,7 +708,7 @@ void CGMImpressOutAct::DrawPolyPolygon( tools::PolyPolygon& rPolyPolygon )
}
}
-void CGMImpressOutAct::DrawText( awt::Point& rTextPos, awt::Size& rTextSize, char* pString, FinalFlag eFlag )
+void CGMImpressOutAct::DrawText( awt::Point const & rTextPos, awt::Size& rTextSize, char const * pString, FinalFlag eFlag )
{
if ( ImplCreateShape( "com.sun.star.drawing.TextShape" ) )
{
@@ -926,7 +926,7 @@ void CGMImpressOutAct::EndFigure()
maFlags.clear();
}
-void CGMImpressOutAct::RegPolyLine( tools::Polygon& rPolygon, bool bReverse )
+void CGMImpressOutAct::RegPolyLine( tools::Polygon const & rPolygon, bool bReverse )
{
sal_uInt16 nPoints = rPolygon.GetSize();
if ( nPoints )
diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx
index cf4d357ca813..13bddfdcf0ec 100644
--- a/filter/source/graphicfilter/icgm/bundles.cxx
+++ b/filter/source/graphicfilter/icgm/bundles.cxx
@@ -161,7 +161,7 @@ static sal_Int8* ImplSearchEntry( sal_Int8* pSource, sal_Int8 const * pDest, sal
return nullptr;
}
-void CGMFList::InsertName( sal_uInt8* pSource, sal_uInt32 nSize )
+void CGMFList::InsertName( sal_uInt8 const * pSource, sal_uInt32 nSize )
{
FontEntry* pFontEntry;
if ( nFontsAvailable == nFontNameCount )
@@ -222,7 +222,7 @@ void CGMFList::InsertName( sal_uInt8* pSource, sal_uInt32 nSize )
}
-void CGMFList::InsertCharSet( CharSetType eCharSetType, sal_uInt8* pSource, sal_uInt32 nSize )
+void CGMFList::InsertCharSet( CharSetType eCharSetType, sal_uInt8 const * pSource, sal_uInt32 nSize )
{
FontEntry* pFontEntry;
if ( nFontsAvailable == nCharSetCount )
diff --git a/filter/source/graphicfilter/icgm/bundles.hxx b/filter/source/graphicfilter/icgm/bundles.hxx
index 99e42d73ceb8..51e92567a534 100644
--- a/filter/source/graphicfilter/icgm/bundles.hxx
+++ b/filter/source/graphicfilter/icgm/bundles.hxx
@@ -169,8 +169,8 @@ public:
sal_uInt32 nFontsAvailable;
FontEntry* GetFontEntry( sal_uInt32 );
- void InsertName( sal_uInt8* pSource, sal_uInt32 nSize );
- void InsertCharSet( CharSetType, sal_uInt8* pSource, sal_uInt32 nSize );
+ void InsertName( sal_uInt8 const * pSource, sal_uInt32 nSize );
+ void InsertCharSet( CharSetType, sal_uInt8 const * pSource, sal_uInt32 nSize );
CGMFList& operator=( const CGMFList& rFontList );
};
diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx
index 176da5e80608..06ce45ed27be 100644
--- a/filter/source/graphicfilter/icgm/cgm.hxx
+++ b/filter/source/graphicfilter/icgm/cgm.hxx
@@ -112,7 +112,7 @@ class CGM
void ImplGetRectangle( FloatRect&, bool bMap = false );
void ImplGetRectangleNS( FloatRect& );
void ImplGetVector( double* );
- static double ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint );
+ static double ImplGetOrientation( FloatPoint const & rCenter, FloatPoint const & rPoint );
static void ImplSwitchStartEndAngle( double& rStartAngle, double& rEndAngle );
bool ImplGetEllipse( FloatPoint& rCenter, FloatPoint& rRadius, double& rOrientation );
diff --git a/filter/source/graphicfilter/icgm/class4.cxx b/filter/source/graphicfilter/icgm/class4.cxx
index 617f88aa7307..d345656a6e5f 100644
--- a/filter/source/graphicfilter/icgm/class4.cxx
+++ b/filter/source/graphicfilter/icgm/class4.cxx
@@ -26,7 +26,7 @@
using namespace ::com::sun::star;
-double CGM::ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint )
+double CGM::ImplGetOrientation( FloatPoint const & rCenter, FloatPoint const & rPoint )
{
double fOrientation;
diff --git a/filter/source/graphicfilter/icgm/outact.hxx b/filter/source/graphicfilter/icgm/outact.hxx
index 4f03503968a7..059010e9507b 100644
--- a/filter/source/graphicfilter/icgm/outact.hxx
+++ b/filter/source/graphicfilter/icgm/outact.hxx
@@ -69,7 +69,7 @@ class CGMImpressOutAct
bool ImplCreateShape( const OUString& rType );
bool ImplInitPage();
- void ImplSetOrientation( FloatPoint& RefPoint, double& Orientation );
+ void ImplSetOrientation( FloatPoint const & RefPoint, double Orientation );
void ImplSetLineBundle();
void ImplSetFillBundle();
void ImplSetTextBundle( const css::uno::Reference< css::beans::XPropertySet > & );
@@ -80,16 +80,16 @@ public:
void BeginGroup();
void EndGroup();
void EndGrouping();
- void DrawRectangle( FloatRect& );
- void DrawEllipse( FloatPoint& center, FloatPoint&, double& Orientation );
- void DrawEllipticalArc( FloatPoint& center, FloatPoint& size, double& orientation,
+ void DrawRectangle( FloatRect const & );
+ void DrawEllipse( FloatPoint const & center, FloatPoint const &, double& Orientation );
+ void DrawEllipticalArc( FloatPoint const & center, FloatPoint const & size, double& orientation,
sal_uInt32 etype, double& startangle, double& endangle );
void DrawBitmap( CGMBitmapDescriptor* );
void DrawPolygon( tools::Polygon& );
void DrawPolyLine( tools::Polygon& );
void DrawPolybezier( tools::Polygon& );
- void DrawPolyPolygon( tools::PolyPolygon& );
- void DrawText( css::awt::Point& TextRectPos, css::awt::Size& TextRectSize, char* String, FinalFlag );
+ void DrawPolyPolygon( tools::PolyPolygon const & );
+ void DrawText( css::awt::Point const & TextRectPos, css::awt::Size& TextRectSize, char const * String, FinalFlag );
void AppendText( const char* String );
void FirstOutPut() { mpCGM->mbFirstOutPut = false; } ;
@@ -97,7 +97,7 @@ public:
void CloseRegion();
void NewRegion();
void EndFigure();
- void RegPolyLine( tools::Polygon&, bool bReverse = false );
+ void RegPolyLine( tools::Polygon const &, bool bReverse = false );
void SetGradientOffset( long nHorzOfs, long nVertOfs );
void SetGradientAngle( long nAngle );
void SetGradientDescriptor( sal_uInt32 nColorFrom, sal_uInt32 nColorTo );
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index 08fa3b6a9a5c..331dd932e2f2 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -48,7 +48,7 @@ namespace PictReaderInternal {
//! reads black/white pattern from SvStream
sal_uLong read(SvStream &stream);
//! sets the color
- void setColor(Color &col) { isColor = true; color = col; }
+ void setColor(Color col) { isColor = true; color = col; }
/** returns a color which can be "used" to replace the pattern,
* created from ForeColor and BackColor, ...
*
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 87dd2b2413b0..a8c5be66ab27 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -1874,10 +1874,10 @@ tools::PolyPolygon EscherPropertyContainer::GetPolyPolygon( const css::uno::Any&
bool EscherPropertyContainer::CreatePolygonProperties(
const css::uno::Reference< css::beans::XPropertySet > & rXPropSet,
- sal_uInt32 nFlags,
- bool bBezier,
- css::awt::Rectangle& rGeoRect,
- tools::Polygon* pPolygon )
+ sal_uInt32 nFlags,
+ bool bBezier,
+ css::awt::Rectangle& rGeoRect,
+ tools::Polygon const * pPolygon )
{
bool bRetValue = true;
bool bLine = ( nFlags & ESCHER_CREATEPOLYGON_LINE ) != 0;
@@ -2499,7 +2499,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape,
}
}
-bool EscherPropertyContainer::IsDefaultObject( SdrObjCustomShape* pCustoShape , const MSO_SPT eShapeType )
+bool EscherPropertyContainer::IsDefaultObject( SdrObjCustomShape const * pCustoShape , const MSO_SPT eShapeType )
{
bool bIsDefaultObject = false;
switch(eShapeType)
@@ -4065,7 +4065,7 @@ sal_uInt32 EscherGraphicProvider::ImplInsertBlib( EscherBlibEntry* p_EscherBlibE
return mvBlibEntrys.size();
}
-sal_uInt32 EscherGraphicProvider::GetBlibStoreContainerSize( SvStream* pMergePicStreamBSE ) const
+sal_uInt32 EscherGraphicProvider::GetBlibStoreContainerSize( SvStream const * pMergePicStreamBSE ) const
{
sal_uInt32 nSize = 44 * mvBlibEntrys.size() + 8;
if ( pMergePicStreamBSE )
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index e64ec009f1c3..af2988743336 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -5544,7 +5544,7 @@ void SvxMSDffManager::StoreShapeOrder(sal_uLong nId,
}
-void SvxMSDffManager::ExchangeInShapeOrder( SdrObject* pOldObject,
+void SvxMSDffManager::ExchangeInShapeOrder( SdrObject const * pOldObject,
sal_uLong nTxBx,
SdrObject* pObject) const
{
@@ -5563,7 +5563,7 @@ void SvxMSDffManager::ExchangeInShapeOrder( SdrObject* pOldObject,
}
-void SvxMSDffManager::RemoveFromShapeOrder( SdrObject* pObject ) const
+void SvxMSDffManager::RemoveFromShapeOrder( SdrObject const * pObject ) const
{
sal_uInt16 nShpCnt = m_aShapeOrders.size();
for (sal_uInt16 nShapeNum=0; nShapeNum < nShpCnt; nShapeNum++)
@@ -7059,7 +7059,7 @@ css::uno::Reference < css::embed::XEmbeddedObject > SvxMSDffManager::CheckForCo
// TODO/MBA: code review and testing!
SdrOle2Obj* SvxMSDffManager::CreateSdrOLEFromStorage(
const OUString& rStorageName,
- tools::SvRef<SotStorage>& rSrcStorage,
+ tools::SvRef<SotStorage> const & rSrcStorage,
const uno::Reference < embed::XStorage >& xDestStorage,
const Graphic& rGrf,
const tools::Rectangle& rBoundRect,
@@ -7385,7 +7385,7 @@ void SvxMSDffManager::insertShapeId( sal_Int32 nShapeId, SdrObject* pShape )
maShapeIdContainer[nShapeId] = pShape;
}
-void SvxMSDffManager::removeShapeId( SdrObject* pShape )
+void SvxMSDffManager::removeShapeId( SdrObject const * pShape )
{
SvxMSDffShapeIdContainer::iterator aIter( maShapeIdContainer.begin() );
const SvxMSDffShapeIdContainer::iterator aEnd( maShapeIdContainer.end() );
diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx
index bbca5e6240e3..8af459fee1d1 100644
--- a/filter/source/msfilter/msoleexp.cxx
+++ b/filter/source/msfilter/msoleexp.cxx
@@ -118,7 +118,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( const css::uno::Reference < css::em
ExportOLEObject( aObj, rDestStg );
}
-void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotStorage& rDestStg )
+void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef const & rObj, SotStorage& rDestStg )
{
SvGlobalName aOwnGlobalName;
SvGlobalName aObjName( rObj->getClassID() );
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index 1e8a6e8ea352..0951cc87c8a1 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -172,7 +172,7 @@ SfxObjectShell* findShellForUrl( const OUString& sMacroURLOrPath )
// sMod can be empty ( but we really need the library to search in )
// if sMod is empty and a macro is found then sMod is updated
// if sMod is empty, only standard modules will be searched (no class, document, form modules)
-bool hasMacro( SfxObjectShell* pShell, const OUString& sLibrary, OUString& sMod, const OUString& sMacro )
+bool hasMacro( SfxObjectShell const * pShell, const OUString& sLibrary, OUString& sMod, const OUString& sMacro )
{
bool bFound = false;
@@ -223,7 +223,7 @@ bool hasMacro( SfxObjectShell* pShell, const OUString& sLibrary, OUString& sMod,
return bFound;
}
-OUString getDefaultProjectName( SfxObjectShell* pShell )
+OUString getDefaultProjectName( SfxObjectShell const * pShell )
{
OUString aPrjName;
if( BasicManager* pBasicMgr = pShell ? pShell->GetBasicManager() : nullptr )
@@ -256,7 +256,7 @@ void parseMacro( const OUString& sMacro, OUString& sContainer, OUString& sModule
sProcedure = sMacro;
}
-OUString resolveVBAMacro( SfxObjectShell* pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName )
+OUString resolveVBAMacro( SfxObjectShell const * pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName )
{
#if !HAVE_FEATURE_SCRIPTING
(void) pShell;
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index cb3fed6f6b00..9138b39ce517 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -2196,7 +2196,7 @@ PptSlidePersistList* SdrPowerPointImport::GetPageList(PptPageKind ePageKind) con
return nullptr;
}
-SdrOutliner* SdrPowerPointImport::GetDrawOutliner( SdrTextObj* pSdrText )
+SdrOutliner* SdrPowerPointImport::GetDrawOutliner( SdrTextObj const * pSdrText )
{
if ( !pSdrText )
return nullptr;
@@ -2322,7 +2322,7 @@ SdrObject* SdrPowerPointImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj*
}
boost::optional< sal_Int16 > oStartNumbering;
SfxItemSet aParagraphAttribs( rOutliner.GetEmptyItemSet() );
- pPara->ApplyTo( aParagraphAttribs, oStartNumbering, const_cast<SdrPowerPointImport&>(*this), nDestinationInstance );
+ pPara->ApplyTo( aParagraphAttribs, oStartNumbering, *this, nDestinationInstance );
sal_uInt32 nIsBullet2 = 0; //, nInstance = nDestinationInstance != 0xffffffff ? nDestinationInstance : pTextObj->GetInstance();
pPara->GetAttrib( PPT_ParaAttr_BulletOn, nIsBullet2, nDestinationInstance );
@@ -2652,7 +2652,7 @@ SdrPage* SdrPowerPointImport::MakeBlancPage( bool bMaster ) const
return pRet;
}
-void ImportComment10( SvxMSDffManager& rMan, SvStream& rStCtrl, SdrPage* pPage, DffRecordHeader& rComment10Hd )
+void ImportComment10( SvxMSDffManager const & rMan, SvStream& rStCtrl, SdrPage* pPage, DffRecordHeader const & rComment10Hd )
{
OUString sAuthor;
OUString sText;
@@ -3125,7 +3125,7 @@ sal_uInt32 HeaderFooterEntry::NeedToImportInstance( const sal_uInt32 nInstance,
return nRet;
}
-void SdrEscherImport::ImportHeaderFooterContainer( DffRecordHeader& rHd, HeaderFooterEntry& rE )
+void SdrEscherImport::ImportHeaderFooterContainer( DffRecordHeader const & rHd, HeaderFooterEntry& rE )
{
rHd.SeekToContent( rStCtrl );
auto nEndRecPos = SanitizeEndPos(rStCtrl, rHd.GetRecEndFilePos());
@@ -3387,9 +3387,9 @@ PPTNumberFormatCreator::~PPTNumberFormatCreator()
{
}
-bool PPTNumberFormatCreator::ImplGetExtNumberFormat( SdrPowerPointImport& rManager,
+bool PPTNumberFormatCreator::ImplGetExtNumberFormat( SdrPowerPointImport const & rManager,
SvxNumberFormat& rNumberFormat, sal_uInt32 nLevel, TSS_Type nInstance, TSS_Type nDestinationInstance,
- boost::optional< sal_Int16 >& rStartNumbering, sal_uInt32 nFontHeight, PPTParagraphObj* pPara )
+ boost::optional< sal_Int16 >& rStartNumbering, sal_uInt32 nFontHeight, PPTParagraphObj const * pPara )
{
bool bHardAttribute = ( nDestinationInstance == TSS_Type::Unknown );
@@ -3631,7 +3631,7 @@ bool PPTNumberFormatCreator::ImplGetExtNumberFormat( SdrPowerPointImport& rManag
return bHardAttribute;
}
-void PPTNumberFormatCreator::GetNumberFormat( SdrPowerPointImport& rManager, SvxNumberFormat& rNumberFormat, sal_uInt32 nLevel, const PPTParaLevel& rParaLevel, const PPTCharLevel& rCharLevel, TSS_Type nInstance )
+void PPTNumberFormatCreator::GetNumberFormat( SdrPowerPointImport const & rManager, SvxNumberFormat& rNumberFormat, sal_uInt32 nLevel, const PPTParaLevel& rParaLevel, const PPTCharLevel& rCharLevel, TSS_Type nInstance )
{
nIsBullet = ( rParaLevel.mnBuFlags & ( 1 << PPT_ParaAttr_BulletOn ) ) != 0 ? 1 : 0;
nBulletChar = rParaLevel.mnBulletChar;
@@ -3679,7 +3679,7 @@ void PPTNumberFormatCreator::GetNumberFormat( SdrPowerPointImport& rManager, Svx
}
}
-bool PPTNumberFormatCreator::GetNumberFormat( SdrPowerPointImport& rManager, SvxNumberFormat& rNumberFormat, PPTParagraphObj* pParaObj,
+bool PPTNumberFormatCreator::GetNumberFormat( SdrPowerPointImport const & rManager, SvxNumberFormat& rNumberFormat, PPTParagraphObj* pParaObj,
TSS_Type nDestinationInstance, boost::optional< sal_Int16 >& rStartNumbering )
{
sal_uInt32 nHardCount = 0;
@@ -3742,7 +3742,7 @@ bool PPTNumberFormatCreator::GetNumberFormat( SdrPowerPointImport& rManager, Svx
return nHardCount != 0;
}
-void PPTNumberFormatCreator::ImplGetNumberFormat( SdrPowerPointImport& rManager, SvxNumberFormat& rNumberFormat )
+void PPTNumberFormatCreator::ImplGetNumberFormat( SdrPowerPointImport const & rManager, SvxNumberFormat& rNumberFormat )
{
vcl::Font aFont;
PptFontEntityAtom* pAtom = rManager.GetFontEnityAtom( nBulletFont );
@@ -3915,7 +3915,7 @@ PPTParaSheet::PPTParaSheet( const PPTParaSheet& rSheet )
*this = rSheet;
}
-void PPTParaSheet::Read( SdrPowerPointImport&
+void PPTParaSheet::Read( SdrPowerPointImport const &
#ifdef DBG_UTIL
rManager
#endif
@@ -4847,7 +4847,7 @@ PPTStyleTextPropReader::PPTStyleTextPropReader( SvStream& rIn, const DffRecordHe
}
void PPTStyleTextPropReader::ReadParaProps( SvStream& rIn, const DffRecordHeader& rTextHeader,
- const OUString& aString, PPTTextRulerInterpreter& rRuler,
+ const OUString& aString, PPTTextRulerInterpreter const & rRuler,
sal_uInt32& nCharCount, bool& bTextPropAtom )
{
sal_uInt32 nMask = 0; //TODO: nMask initialized here to suppress warning for now, see corresponding TODO below
@@ -5190,7 +5190,7 @@ void PPTStyleTextPropReader::ReadCharProps( SvStream& rIn, PPTCharPropSet& aChar
}
void PPTStyleTextPropReader::Init( SvStream& rIn, const DffRecordHeader& rTextHeader,
- PPTTextRulerInterpreter& rRuler, const DffRecordHeader& rExtParaHd, TSS_Type nInstance )
+ PPTTextRulerInterpreter const & rRuler, const DffRecordHeader& rExtParaHd, TSS_Type nInstance )
{
sal_uInt32 nMerk = rIn.Tell();
sal_uInt32 nExtParaPos = ( rExtParaHd.nRecType == PPT_PST_ExtendedParagraphAtom ) ? rExtParaHd.nFilePos + 8 : 0;
@@ -6170,7 +6170,7 @@ bool PPTParagraphObj::GetAttrib( sal_uInt32 nAttr, sal_uInt32& rRetValue, TSS_Ty
return bIsHardAttribute;
}
-void PPTParagraphObj::ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& rStartNumbering, SdrPowerPointImport& rManager, TSS_Type nDestinationInstance )
+void PPTParagraphObj::ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& rStartNumbering, SdrPowerPointImport const & rManager, TSS_Type nDestinationInstance )
{
sal_Int16 nVal2;
sal_uInt32 nVal, nUpperDist, nLowerDist;
@@ -7379,7 +7379,7 @@ void MergeCells( const Reference< XTable >& xTable, sal_Int32 nCol, sal_Int32 nR
}
}
-void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell >& xCell )
+void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell > const & xCell )
{
try
{
@@ -7485,7 +7485,7 @@ void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell >& xCell )
}
}
-void ApplyCellLineAttributes( const SdrObject* pLine, Reference< XTable >& xTable, const std::vector< sal_Int32 >& vPositions, sal_Int32 nColumns )
+void ApplyCellLineAttributes( const SdrObject* pLine, Reference< XTable > const & xTable, const std::vector< sal_Int32 >& vPositions, sal_Int32 nColumns )
{
try
{
@@ -7731,7 +7731,7 @@ bool SdrPowerPointImport::IsVerticalText() const
return bVerticalText;
}
-void SdrPowerPointImport::ApplyTextAnchorAttributes( PPTTextObj& rTextObj, SfxItemSet& rSet ) const
+void SdrPowerPointImport::ApplyTextAnchorAttributes( PPTTextObj const & rTextObj, SfxItemSet& rSet ) const
{
SdrTextVertAdjust eTVA;
SdrTextHorzAdjust eTHA;
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index d260e0308d59..611315c51d5f 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -150,7 +150,7 @@ PDFExport::~PDFExport()
bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
- Reference< css::view::XRenderable >& rRenderable,
+ Reference< css::view::XRenderable > const & rRenderable,
const Any& rSelection,
const StringRangeEnumerator& rRangeEnum,
Sequence< PropertyValue >& rRenderOptions,
diff --git a/filter/source/pdf/pdfexport.hxx b/filter/source/pdf/pdfexport.hxx
index 723742a4bb26..4a371433263a 100644
--- a/filter/source/pdf/pdfexport.hxx
+++ b/filter/source/pdf/pdfexport.hxx
@@ -116,7 +116,7 @@ public:
~PDFExport();
bool ExportSelection( vcl::PDFWriter& rPDFWriter,
- Reference< css::view::XRenderable >& rRenderable,
+ Reference< css::view::XRenderable > const & rRenderable,
const Any& rSelection,
const StringRangeEnumerator& rRangeEnum,
Sequence< PropertyValue >& rRenderOptions,
diff --git a/filter/source/svg/svgfontexport.cxx b/filter/source/svg/svgfontexport.cxx
index cd6b224b0041..eba5fe313f48 100644
--- a/filter/source/svg/svgfontexport.cxx
+++ b/filter/source/svg/svgfontexport.cxx
@@ -250,7 +250,7 @@ void SVGFontExport::implEmbedFont( const vcl::Font& rFont )
}
-void SVGFontExport::implEmbedGlyph( OutputDevice& rOut, const OUString& rCellStr )
+void SVGFontExport::implEmbedGlyph( OutputDevice const & rOut, const OUString& rCellStr )
{
tools::PolyPolygon aPolyPoly;
const sal_Unicode nSpace = ' ';
diff --git a/filter/source/svg/svgfontexport.hxx b/filter/source/svg/svgfontexport.hxx
index 589262c01835..8b9f5440fa40 100644
--- a/filter/source/svg/svgfontexport.hxx
+++ b/filter/source/svg/svgfontexport.hxx
@@ -59,7 +59,7 @@ private:
GlyphSet& implGetGlyphSet( const vcl::Font& rFont );
void implCollectGlyphs();
void implEmbedFont( const vcl::Font& rFont );
- void implEmbedGlyph( OutputDevice& rOut, const OUString& rCellStr );
+ void implEmbedGlyph( OutputDevice const & rOut, const OUString& rCellStr );
public:
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 4b261efb8097..768c93f83031 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -1373,7 +1373,7 @@ struct AnnotatingVisitor
void annotateStyles( StatePool& rStatePool,
StateMap& rStateMap,
const State& rInitialState,
- uno::Reference<xml::dom::XElement>& rElem,
+ uno::Reference<xml::dom::XElement> const & rElem,
const uno::Reference<xml::sax::XDocumentHandler>& xDocHdl,
std::vector< uno::Reference<xml::dom::XElement> >& rUseElementVector )
{
@@ -1802,7 +1802,7 @@ struct ShapeWritingVisitor
static void pop()
{}
- void writeBinaryData( rtl::Reference<SvXMLAttributeList>& xAttrs,
+ void writeBinaryData( rtl::Reference<SvXMLAttributeList> const & xAttrs,
const uno::Reference<xml::sax::XAttributeList>& xUnoAttrs,
const uno::Reference<xml::dom::XElement>& /* xElem */,
const basegfx::B2DRange& rShapeBounds,
@@ -1831,7 +1831,7 @@ struct ShapeWritingVisitor
}
- void writeEllipseShape( rtl::Reference<SvXMLAttributeList>& xAttrs,
+ void writeEllipseShape( rtl::Reference<SvXMLAttributeList> const & xAttrs,
const uno::Reference<xml::sax::XAttributeList>& xUnoAttrs,
const uno::Reference<xml::dom::XElement>& xElem,
const OUString& rStyleId,
@@ -1847,7 +1847,7 @@ struct ShapeWritingVisitor
}
- void writePathShape( rtl::Reference<SvXMLAttributeList>& xAttrs,
+ void writePathShape( rtl::Reference<SvXMLAttributeList> const & xAttrs,
const uno::Reference<xml::sax::XAttributeList>& xUnoAttrs,
const uno::Reference<xml::dom::XElement>& xElem,
const OUString& rStyleId,
@@ -1899,7 +1899,7 @@ struct ShapeWritingVisitor
}
}
- void fillShapeProperties( rtl::Reference<SvXMLAttributeList>& xAttrs,
+ void fillShapeProperties( rtl::Reference<SvXMLAttributeList> const & xAttrs,
const uno::Reference<xml::dom::XElement>& /* xElem */,
const basegfx::B2DRange& rShapeBounds,
const OUString& rStyleName )
diff --git a/filter/source/xsltdialog/xmlfiltercommon.hxx b/filter/source/xsltdialog/xmlfiltercommon.hxx
index 0f0a26c66418..cb56b7b8ab83 100644
--- a/filter/source/xsltdialog/xmlfiltercommon.hxx
+++ b/filter/source/xsltdialog/xmlfiltercommon.hxx
@@ -33,7 +33,7 @@ extern OUString string_encode( const OUString & rText );
extern OUString string_decode( const OUString & rText );
bool copyStreams( const css::uno::Reference< css::io::XInputStream >& xIS, const css::uno::Reference< css::io::XOutputStream >& xOS );
-bool createDirectory( OUString& rURL );
+bool createDirectory( OUString const & rURL );
class filter_info_impl
diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx
index 388235716aef..1774dc23b2c4 100644
--- a/filter/source/xsltdialog/xmlfilterjar.cxx
+++ b/filter/source/xsltdialog/xmlfilterjar.cxx
@@ -78,7 +78,7 @@ static OUString encodeZipUri( const OUString& rURI )
}
/// @throws Exception
-static Reference< XInterface > addFolder( Reference< XInterface >& xRootFolder, Reference< XSingleServiceFactory >& xFactory, const OUString& rName )
+static Reference< XInterface > addFolder( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, const OUString& rName )
{
if ( rName == ".." || rName == "." )
throw lang::IllegalArgumentException();
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index 5d26460f1a00..9ff9d81a046e 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -1632,7 +1632,7 @@ bool copyStreams( const Reference< XInputStream >& xIS, const Reference< XOutput
return false;
}
-bool createDirectory( OUString& rURL )
+bool createDirectory( OUString const & rURL )
{
sal_Int32 nLastIndex = sizeof( "file:///" ) - 2;
while( nLastIndex != -1 )
diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx
index 2f0f18dec73d..7d3128a77204 100644
--- a/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx
+++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.cxx
@@ -130,7 +130,7 @@ void XMLFilterTabPageXSLT::SetURL( SvtURLBox* rURLBox, const OUString& rURL )
}
}
-OUString XMLFilterTabPageXSLT::GetURL( SvtURLBox* rURLBox )
+OUString XMLFilterTabPageXSLT::GetURL( SvtURLBox const * rURLBox )
{
OUString aURL;
OUString aStrPath ( rURLBox->GetText() );
diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx
index c5e84aa0072e..ae0ca61429da 100644
--- a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx
+++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx
@@ -57,7 +57,7 @@ public:
private:
void SetURL( SvtURLBox *rURLBox, const OUString& rURL );
- static OUString GetURL( SvtURLBox* rURLBox );
+ static OUString GetURL( SvtURLBox const * rURLBox );
OUString sInstPath;
};
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 65c150db33b2..3b29bd7727b5 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -99,7 +99,7 @@ void SAL_CALL GlobalEventListenerImpl::disposing( const css::lang::EventObject&
}
/** returns true if the given component supports the given service */
-static bool checkComponent( Reference< XComponent >& rxComponent, const OUString& rServiceName )
+static bool checkComponent( Reference< XComponent > const & rxComponent, const OUString& rServiceName )
{
try
{
@@ -220,14 +220,14 @@ void XMLFilterTestDialog::test( const filter_info_impl& rFilterInfo )
Execute();
}
-static OUString getFileNameFromURL( OUString& rURL )
+static OUString getFileNameFromURL( OUString const & rURL )
{
INetURLObject aURL( rURL );
OUString aName( aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset) );
return aName;
}
-void XMLFilterTestDialog::updateCurrentDocumentButtonState( Reference< XComponent > * pRef /* = NULL */ )
+void XMLFilterTestDialog::updateCurrentDocumentButtonState( Reference< XComponent > const * pRef /* = NULL */ )
{
if( pRef && pRef->is() )
{
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.hxx b/filter/source/xsltdialog/xmlfiltertestdialog.hxx
index a9f79873e73b..6d23dd870c68 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.hxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.hxx
@@ -41,7 +41,7 @@ public:
void test( const filter_info_impl& rFilterInfo );
- void updateCurrentDocumentButtonState( css::uno::Reference< css::lang::XComponent > * pRef = nullptr );
+ void updateCurrentDocumentButtonState( css::uno::Reference< css::lang::XComponent > const * pRef = nullptr );
private:
DECL_LINK(ClickHdl_Impl, Button *, void );
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx
index 53ca59a7661d..f30c8edf7fae 100644
--- a/include/filter/msfilter/escherex.hxx
+++ b/include/filter/msfilter/escherex.hxx
@@ -569,7 +569,7 @@ protected:
public:
- sal_uInt32 GetBlibStoreContainerSize( SvStream* pMergePicStreamBSE = nullptr ) const;
+ sal_uInt32 GetBlibStoreContainerSize( SvStream const * pMergePicStreamBSE = nullptr ) const;
void WriteBlibStoreContainer( SvStream& rStrm, SvStream* pMergePicStreamBSE = nullptr );
void WriteBlibStoreEntry(SvStream& rStrm, sal_uInt32 nBlipId, sal_uInt32 nResize);
sal_uInt32 GetBlibID(
@@ -751,7 +751,7 @@ public:
sal_uInt32 nFlags,
bool bBezier,
css::awt::Rectangle& rGeoRect,
- tools::Polygon* pPolygon = nullptr
+ tools::Polygon const * pPolygon = nullptr
);
static sal_uInt32 GetGradientColor(
@@ -827,7 +827,7 @@ public:
sal_Int32& rnArrowLength,
sal_Int32& rnArrowWidth
);
- static bool IsDefaultObject( SdrObjCustomShape* pCustoShape, const MSO_SPT eShapeType );
+ static bool IsDefaultObject( SdrObjCustomShape const * pCustoShape, const MSO_SPT eShapeType );
static void LookForPolarHandles(
const MSO_SPT eShapeType,
sal_Int32& nAdjustmentsWhichNeedsToBeConverted
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx
index 57530d1da42a..265b2c915dd5 100644
--- a/include/filter/msfilter/msdffimp.hxx
+++ b/include/filter/msfilter/msdffimp.hxx
@@ -691,14 +691,14 @@ public:
SdrObject* pObject,
SwFlyFrameFormat* pFly = nullptr) const;
- void ExchangeInShapeOrder(SdrObject* pOldObject,
+ void ExchangeInShapeOrder(SdrObject const * pOldObject,
sal_uLong nTxBx,
SdrObject* pObject) const;
- void RemoveFromShapeOrder( SdrObject* pObject ) const;
+ void RemoveFromShapeOrder( SdrObject const * pObject ) const;
static SdrOle2Obj* CreateSdrOLEFromStorage( const OUString& rStorageName,
- tools::SvRef<SotStorage>& rSrcStorage,
+ tools::SvRef<SotStorage> const & rSrcStorage,
const css::uno::Reference < css::embed::XStorage >& xDestStg,
const Graphic& rGraf,
const tools::Rectangle& rBoundRect,
@@ -725,7 +725,7 @@ public:
);
void insertShapeId( sal_Int32 nShapeId, SdrObject* pShape );
- void removeShapeId( SdrObject* pShape );
+ void removeShapeId( SdrObject const * pShape );
SdrObject* getShapeForId( sal_Int32 nShapeId );
};
diff --git a/include/filter/msfilter/msoleexp.hxx b/include/filter/msfilter/msoleexp.hxx
index dc7b17616516..c6a3eab9d138 100644
--- a/include/filter/msfilter/msoleexp.hxx
+++ b/include/filter/msfilter/msoleexp.hxx
@@ -46,7 +46,7 @@ class MSFILTER_DLLPUBLIC SvxMSExportOLEObjects
public:
SvxMSExportOLEObjects( sal_uInt32 nCnvrtFlgs ) : nConvertFlags(nCnvrtFlgs) {}
- void ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotStorage& rDestStg );
+ void ExportOLEObject( svt::EmbeddedObjectRef const & rObj, SotStorage& rDestStg );
void ExportOLEObject( const css::uno::Reference < css::embed::XEmbeddedObject>& rObj, SotStorage& rDestStg );
};
diff --git a/include/filter/msfilter/msvbahelper.hxx b/include/filter/msfilter/msvbahelper.hxx
index 57136bf6366f..b5b3079dfcdf 100644
--- a/include/filter/msfilter/msvbahelper.hxx
+++ b/include/filter/msfilter/msvbahelper.hxx
@@ -59,8 +59,8 @@ struct MSFILTER_DLLPUBLIC MacroResolvedInfo
MSFILTER_DLLPUBLIC OUString makeMacroURL( const OUString& sMacroName );
MSFILTER_DLLPUBLIC OUString extractMacroName( const OUString& rMacroUrl );
-MSFILTER_DLLPUBLIC OUString getDefaultProjectName( SfxObjectShell* pShell );
-MSFILTER_DLLPUBLIC OUString resolveVBAMacro( SfxObjectShell* pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName );
+MSFILTER_DLLPUBLIC OUString getDefaultProjectName( SfxObjectShell const * pShell );
+MSFILTER_DLLPUBLIC OUString resolveVBAMacro( SfxObjectShell const * pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName );
MSFILTER_DLLPUBLIC MacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const OUString& rMacroName, bool bSearchGlobalTemplates = false );
MSFILTER_DLLPUBLIC bool executeMacro( SfxObjectShell* pShell, const OUString& sMacroName, css::uno::Sequence< css::uno::Any >& aArgs, css::uno::Any& aRet, const css::uno::Any& aCaller );
/// @throws css::uno::RuntimeException
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index 8643be9d6481..3204454ffba7 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -465,7 +465,7 @@ public:
virtual SdrObject* ReadObjText( PPTTextObj* pTextObj, SdrObject* pObj, SdPageCapsule pPage ) const;
virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, tools::Rectangle& rTextRect, SdrObject* pObj ) override;
virtual void ProcessClientAnchor2( SvStream& rSt, DffRecordHeader& rHd, void* pData, DffObjData& rObj ) override;
- void ImportHeaderFooterContainer( DffRecordHeader& rHeader, HeaderFooterEntry& rEntry );
+ void ImportHeaderFooterContainer( DffRecordHeader const & rHeader, HeaderFooterEntry& rEntry );
};
@@ -591,10 +591,10 @@ protected:
sal_uInt32 GetAktPageId();
sal_uInt32 GetMasterPageId(sal_uInt16 nPageNum, PptPageKind ePageKind) const;
sal_uInt32 GetNotesPageId(sal_uInt16 nPageNum ) const;
- static SdrOutliner* GetDrawOutliner( SdrTextObj* pSdrText );
+ static SdrOutliner* GetDrawOutliner( SdrTextObj const * pSdrText );
void SeekOle( SfxObjectShell* pShell, sal_uInt32 nFilterOptions );
- void ApplyTextAnchorAttributes( PPTTextObj& rTextObj, SfxItemSet& rSet ) const;
+ void ApplyTextAnchorAttributes( PPTTextObj const & rTextObj, SfxItemSet& rSet ) const;
bool IsVerticalText() const;
public:
@@ -772,7 +772,7 @@ public:
PPTParaSheet( const PPTParaSheet& rParaSheet );
void Read(
- SdrPowerPointImport& rMan,
+ SdrPowerPointImport const & rMan,
SvStream& rIn,
sal_uInt32 nLevel,
bool bFirst
@@ -792,18 +792,18 @@ class PPTNumberFormatCreator
sal_uInt32 nBulletOfs;
void ImplGetNumberFormat(
- SdrPowerPointImport& rMan,
+ SdrPowerPointImport const & rMan,
SvxNumberFormat& rNumberFormat
);
bool ImplGetExtNumberFormat(
- SdrPowerPointImport& rMan,
+ SdrPowerPointImport const & rMan,
SvxNumberFormat& rNumberFormat,
sal_uInt32 nLevel,
TSS_Type nInstance,
TSS_Type nInstanceInSheet,
boost::optional< sal_Int16 >& rStartNumbering,
sal_uInt32 nFontHeight,
- PPTParagraphObj* pPara
+ PPTParagraphObj const * pPara
);
protected:
@@ -816,7 +816,7 @@ public:
std::unique_ptr<PPTExtParaProv> pExtParaProv;
void GetNumberFormat(
- SdrPowerPointImport& rMan,
+ SdrPowerPointImport const & rMan,
SvxNumberFormat& rNumberFormat,
sal_uInt32 nLevel,
const PPTParaLevel& rParaLevel,
@@ -825,7 +825,7 @@ public:
);
bool GetNumberFormat(
- SdrPowerPointImport& rMan,
+ SdrPowerPointImport const & rMan,
SvxNumberFormat& rNumberFormat,
PPTParagraphObj* pPara,
TSS_Type nInstanceInSheet,
@@ -1054,7 +1054,7 @@ struct PPTStyleTextPropReader
void Init(
SvStream& rIn,
const DffRecordHeader& rClientTextBoxHd,
- PPTTextRulerInterpreter& rInterpreter,
+ PPTTextRulerInterpreter const & rInterpreter,
const DffRecordHeader& rExtParaHd,
TSS_Type nTextInstance
);
@@ -1062,7 +1062,7 @@ struct PPTStyleTextPropReader
SvStream& rIn,
const DffRecordHeader& rTextHeader,
const OUString& aString,
- PPTTextRulerInterpreter& rRuler,
+ PPTTextRulerInterpreter const & rRuler,
sal_uInt32& nCharCount,
bool& bTextPropAtom
);
@@ -1169,7 +1169,7 @@ public:
void ApplyTo(
SfxItemSet& rSet,
boost::optional< sal_Int16 >& rStartNumbering,
- SdrPowerPointImport& rManager,
+ SdrPowerPointImport const & rManager,
TSS_Type nInstanceInSheet
);
};