diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:02:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:57:26 +0200 |
commit | 72f36adb93d24a3da8868dad128ab2eca0124fda (patch) | |
tree | 06baca9f873aa59e16c5f3612f5a464c2e0eba46 /vcl/source/gdi | |
parent | bff8cd3d52223002263dcb8c09758c4fc753b6e3 (diff) |
loplugin:constparams in vcl
Change-Id: I36afe2107e07ffb9b73c0b76be600e3e999a0fd4
Reviewed-on: https://gerrit.libreoffice.org/40116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r-- | vcl/source/gdi/bitmap3.cxx | 6 | ||||
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/bmpacc.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/bmpfast.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/dibtools.cxx | 12 | ||||
-rw-r--r-- | vcl/source/gdi/impvect.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 10 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 10 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/pngwrite.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/print2.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/print3.cxx | 6 | ||||
-rw-r--r-- | vcl/source/gdi/salgdilayout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/svmconverter.cxx | 4 |
15 files changed, 36 insertions, 36 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx index 31796149ad9e..db9943048e13 100644 --- a/vcl/source/gdi/bitmap3.cxx +++ b/vcl/source/gdi/bitmap3.cxx @@ -484,7 +484,7 @@ bool Bitmap::ImplMakeGreyscales( sal_uInt16 nGreys ) return bRet; } -bool Bitmap::ImplConvertUp(sal_uInt16 nBitCount, Color* pExtColor) +bool Bitmap::ImplConvertUp(sal_uInt16 nBitCount, Color const * pExtColor) { SAL_WARN_IF( nBitCount <= GetBitCount(), "vcl", "New BitCount must be greater!" ); @@ -567,7 +567,7 @@ bool Bitmap::ImplConvertUp(sal_uInt16 nBitCount, Color* pExtColor) return bRet; } -bool Bitmap::ImplConvertDown(sal_uInt16 nBitCount, Color* pExtColor) +bool Bitmap::ImplConvertDown(sal_uInt16 nBitCount, Color const * pExtColor) { SAL_WARN_IF(nBitCount > GetBitCount(), "vcl", "New BitCount must be lower ( or equal when pExtColor is set )!"); @@ -2123,7 +2123,7 @@ bool Bitmap::Adjust( short nLuminancePercent, short nContrastPercent, return bRet; } -bool Bitmap::ImplConvolutionPass(Bitmap& aNewBitmap, BitmapReadAccess* pReadAcc, int aNumberOfContributions, const double* pWeights, int* pPixels, const int* pCount) +bool Bitmap::ImplConvolutionPass(Bitmap& aNewBitmap, BitmapReadAccess const * pReadAcc, int aNumberOfContributions, const double* pWeights, int* pPixels, const int* pCount) { if (!pReadAcc) return false; diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 50229734c508..a3bf2ad6d5b1 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -648,7 +648,7 @@ void BitmapEx::Draw( OutputDevice* pOutDev, pOutDev->DrawBitmapEx( rDestPt, rDestSize, *this ); } -BitmapEx BitmapEx:: AutoScaleBitmap(BitmapEx & aBitmap, const long aStandardSize) +BitmapEx BitmapEx:: AutoScaleBitmap(BitmapEx const & aBitmap, const long aStandardSize) { Point aEmptyPoint(0,0); double imgposX = 0; diff --git a/vcl/source/gdi/bmpacc.cxx b/vcl/source/gdi/bmpacc.cxx index 84ca679f66dd..e279ea7d0857 100644 --- a/vcl/source/gdi/bmpacc.cxx +++ b/vcl/source/gdi/bmpacc.cxx @@ -119,7 +119,7 @@ BitmapReadAccess::~BitmapReadAccess() { } -void BitmapReadAccess::ImplInitScanBuffer( Bitmap& rBitmap ) +void BitmapReadAccess::ImplInitScanBuffer( Bitmap const & rBitmap ) { if (!mpBuffer) return; diff --git a/vcl/source/gdi/bmpfast.cxx b/vcl/source/gdi/bmpfast.cxx index a610394cf1a6..29737e1617d3 100644 --- a/vcl/source/gdi/bmpfast.cxx +++ b/vcl/source/gdi/bmpfast.cxx @@ -659,7 +659,7 @@ bool ImplBlendFromBitmap( BitmapBuffer& rDst, const BitmapBuffer& rSrc, const Bi return false; } -bool ImplFastBitmapBlending( BitmapWriteAccess& rDstWA, +bool ImplFastBitmapBlending( BitmapWriteAccess const & rDstWA, const BitmapReadAccess& rSrcRA, const BitmapReadAccess& rMskRA, const SalTwoRect& rTR ) { diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index 723b9b273bf1..1b16d24906de 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -347,7 +347,7 @@ namespace } -bool ImplDecodeRLE(sal_uInt8* pBuffer, DIBV5Header& rHeader, BitmapWriteAccess& rAcc, BitmapPalette& rPalette, bool bForceToMonoWhileReading, bool bRLE4) +bool ImplDecodeRLE(sal_uInt8* pBuffer, DIBV5Header const & rHeader, BitmapWriteAccess& rAcc, BitmapPalette& rPalette, bool bForceToMonoWhileReading, bool bRLE4) { Scanline pRLE = pBuffer; Scanline pEndRLE = pBuffer + rHeader.nSizeImage; @@ -1055,7 +1055,7 @@ bool ImplReadDIBFileHeader( SvStream& rIStm, sal_uLong& rOffset ) return bRet; } -bool ImplWriteDIBPalette( SvStream& rOStm, BitmapReadAccess& rAcc ) +bool ImplWriteDIBPalette( SvStream& rOStm, BitmapReadAccess const & rAcc ) { const sal_uInt16 nColors = rAcc.GetPaletteEntryCount(); const sal_uLong nPalSize = nColors * 4UL; @@ -1078,7 +1078,7 @@ bool ImplWriteDIBPalette( SvStream& rOStm, BitmapReadAccess& rAcc ) return rOStm.GetError() == ERRCODE_NONE; } -bool ImplWriteRLE( SvStream& rOStm, BitmapReadAccess& rAcc, bool bRLE4 ) +bool ImplWriteRLE( SvStream& rOStm, BitmapReadAccess const & rAcc, bool bRLE4 ) { const sal_uLong nWidth = rAcc.Width(); const sal_uLong nHeight = rAcc.Height(); @@ -1191,7 +1191,7 @@ bool ImplWriteRLE( SvStream& rOStm, BitmapReadAccess& rAcc, bool bRLE4 ) return rOStm.GetError() == ERRCODE_NONE; } -bool ImplWriteDIBBits(SvStream& rOStm, BitmapReadAccess& rAcc, BitmapReadAccess* pAccAlpha, sal_uLong nCompression, sal_uInt32& rImageSize) +bool ImplWriteDIBBits(SvStream& rOStm, BitmapReadAccess const & rAcc, BitmapReadAccess const * pAccAlpha, sal_uLong nCompression, sal_uInt32& rImageSize) { if(!pAccAlpha && BITFIELDS == nCompression) { @@ -1387,7 +1387,7 @@ bool ImplWriteDIBBits(SvStream& rOStm, BitmapReadAccess& rAcc, BitmapReadAccess* return (!rOStm.GetError()); } -bool ImplWriteDIBBody(const Bitmap& rBitmap, SvStream& rOStm, BitmapReadAccess& rAcc, BitmapReadAccess* pAccAlpha, bool bCompressed) +bool ImplWriteDIBBody(const Bitmap& rBitmap, SvStream& rOStm, BitmapReadAccess const & rAcc, BitmapReadAccess const * pAccAlpha, bool bCompressed) { const MapMode aMapPixel(MapUnit::MapPixel); DIBV5Header aHeader; @@ -1570,7 +1570,7 @@ bool ImplWriteDIBBody(const Bitmap& rBitmap, SvStream& rOStm, BitmapReadAccess& return bRet; } -bool ImplWriteDIBFileHeader(SvStream& rOStm, BitmapReadAccess& rAcc, bool bUseDIBV5) +bool ImplWriteDIBFileHeader(SvStream& rOStm, BitmapReadAccess const & rAcc, bool bUseDIBV5) { const sal_uInt32 nPalCount((rAcc.HasPalette() ? rAcc.GetPaletteEntryCount() : isBitfieldCompression(rAcc.GetScanlineFormat()) ? 3UL : 0UL)); const sal_uInt32 nOffset(14 + (bUseDIBV5 ? DIBV5HEADERSIZE : DIBINFOHEADERSIZE) + nPalCount * 4UL); diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx index 0de467a03d38..50913aeb8037 100644 --- a/vcl/source/gdi/impvect.cxx +++ b/vcl/source/gdi/impvect.cxx @@ -53,7 +53,7 @@ namespace ImplVectorizer ImplVectMap* ImplExpand( BitmapReadAccess* pRAcc, const Color& rColor ); void ImplCalculate( ImplVectMap* pMap, tools::PolyPolygon& rPolyPoly, sal_uInt8 cReduce ); bool ImplGetChain( ImplVectMap* pMap, const Point& rStartPt, ImplChain& rChain ); - bool ImplIsUp( ImplVectMap* pMap, long nY, long nX ); + bool ImplIsUp( ImplVectMap const * pMap, long nY, long nX ); void ImplLimitPolyPoly( tools::PolyPolygon& rPolyPoly ); } @@ -959,7 +959,7 @@ bool ImplGetChain( ImplVectMap* pMap, const Point& rStartPt, ImplChain& rChain return true; } -bool ImplIsUp( ImplVectMap* pMap, long nY, long nX ) +bool ImplIsUp( ImplVectMap const * pMap, long nY, long nX ) { if( pMap->IsDone( nY - 1, nX ) ) return true; diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 5fa7b9a40350..cac8aff63909 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -967,7 +967,7 @@ public: void translate( double tx, double ty ); void invert(); - void append( PDFWriterImpl::PDFPage& rPage, OStringBuffer& rBuffer ); + void append( PDFWriterImpl::PDFPage const & rPage, OStringBuffer& rBuffer ); Point transform( const Point& rPoint ) const; }; @@ -1071,7 +1071,7 @@ void Matrix3::invert() set( fn ); } -void Matrix3::append( PDFWriterImpl::PDFPage& rPage, OStringBuffer& rBuffer ) +void Matrix3::append( PDFWriterImpl::PDFPage const & rPage, OStringBuffer& rBuffer ) { appendDouble( f[0], rBuffer ); rBuffer.append( ' ' ); @@ -2047,7 +2047,7 @@ inline void PDFWriterImpl::appendUnicodeTextStringEncrypt( const OUString& rInSt rOutBuffer.append( ">" ); } -inline void PDFWriterImpl::appendLiteralStringEncrypt( OStringBuffer& rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer ) +inline void PDFWriterImpl::appendLiteralStringEncrypt( OStringBuffer const & rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer ) { rOutBuffer.append( "(" ); sal_Int32 nChars = rInString.getLength(); @@ -2906,7 +2906,7 @@ sal_Int32 PDFWriterImpl::emitBuiltinFont( const PdfBuiltinFontFace* pFD, sal_Int return nFontObject; } -std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitSystemFont( const PhysicalFontFace* pFont, EmbedFont& rEmbed ) +std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitSystemFont( const PhysicalFontFace* pFont, EmbedFont const & rEmbed ) { std::map< sal_Int32, sal_Int32 > aRet; @@ -6283,7 +6283,7 @@ void PDFWriterImpl::registerGlyphs( int nGlyphs, const GlyphItem** pGlyphs, sal_Int32* pGlyphWidths, sal_Ucs* pCodeUnits, - sal_Int32* pCodeUnitsPerGlyph, + sal_Int32 const * pCodeUnitsPerGlyph, sal_uInt8* pMappedGlyphs, sal_Int32* pMappedFontObjects, const PhysicalFontFace* pFallbackFonts[] ) diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 50c7e157b29f..97666d0cefd4 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -818,10 +818,10 @@ i12626 void appendLiteralStringEncrypt( const OUString& rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer, rtl_TextEncoding nEnc = RTL_TEXTENCODING_ASCII_US ); void appendLiteralStringEncrypt( const OString& rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer ); - void appendLiteralStringEncrypt( OStringBuffer& rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer ); + void appendLiteralStringEncrypt( OStringBuffer const & rInString, const sal_Int32 nInObjectNumber, OStringBuffer& rOutBuffer ); /* creates fonts and subsets that will be emitted later */ - void registerGlyphs(int nGlyphs, const GlyphItem** pGlyphs, sal_Int32* pGlpyhWidths, sal_Ucs* pCodeUnits, sal_Int32* pCodeUnitsPerGlyph, sal_uInt8* pMappedGlyphs, sal_Int32* pMappedFontObjects, const PhysicalFontFace* pFallbackFonts[]); + void registerGlyphs(int nGlyphs, const GlyphItem** pGlyphs, sal_Int32* pGlpyhWidths, sal_Ucs* pCodeUnits, sal_Int32 const * pCodeUnitsPerGlyph, sal_uInt8* pMappedGlyphs, sal_Int32* pMappedFontObjects, const PhysicalFontFace* pFallbackFonts[]); /* emits a text object according to the passed layout */ /* TODO: remove rText as soon as SalLayout will change so that rText is not necessary anymore */ @@ -874,7 +874,7 @@ i12626 /* writes a builtin font object and returns its objectid (or 0 in case of failure ) */ sal_Int32 emitBuiltinFont( const PdfBuiltinFontFace*, sal_Int32 nObject ); /* writes a type1 system font object and returns its mapping from font ids to object ids (or 0 in case of failure ) */ - std::map< sal_Int32, sal_Int32 > emitSystemFont( const PhysicalFontFace*, EmbedFont& ); + std::map< sal_Int32, sal_Int32 > emitSystemFont( const PhysicalFontFace*, EmbedFont const & ); /* writes a font descriptor and returns its object id (or 0) */ sal_Int32 emitFontDescriptor( const PhysicalFontFace*, FontSubsetInfo&, sal_Int32 nSubsetID, sal_Int32 nStream ); /* writes a ToUnicode cmap, returns the corresponding stream object */ @@ -1054,12 +1054,12 @@ i12626 void implWriteGradient( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient, VirtualDevice* pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& ); void implWriteBitmapEx( const Point& rPoint, const Size& rSize, const BitmapEx& rBitmapEx, const Graphic& i_pGraphic, - VirtualDevice* pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& ); + VirtualDevice const * pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& ); // helpers for CCITT 1bit bitmap stream void putG4Bits( sal_uInt32 i_nLength, sal_uInt32 i_nCode, BitStreamState& io_rState ); void putG4Span( long i_nSpan, bool i_bWhitePixel, BitStreamState& io_rState ); - void writeG4Stream( BitmapReadAccess* i_pBitmap ); + void writeG4Stream( BitmapReadAccess const * i_pBitmap ); // color helper functions void appendStrokingColor( const Color& rColor, OStringBuffer& rBuffer ); diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index aa405d3a6b5f..94a3772a00c7 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -66,7 +66,7 @@ void PDFWriterImpl::implWriteGradient( const tools::PolyPolygon& i_rPolyPoly, co } void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSize, const BitmapEx& i_rBitmapEx, const Graphic& i_Graphic, - VirtualDevice* i_pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& i_rContext ) + VirtualDevice const * i_pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& i_rContext ) { if ( !i_rBitmapEx.IsEmpty() && i_rSize.Width() && i_rSize.Height() ) { @@ -1948,7 +1948,7 @@ void PDFWriterImpl::putG4Span( long i_nSpan, bool i_bWhitePixel, BitStreamState& putG4Bits( pTable[i_nSpan].mnCodeBits, pTable[i_nSpan].mnCode, io_rState ); } -void PDFWriterImpl::writeG4Stream( BitmapReadAccess* i_pBitmap ) +void PDFWriterImpl::writeG4Stream( BitmapReadAccess const * i_pBitmap ) { long nW = i_pBitmap->Width(); long nH = i_pBitmap->Height(); diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index ccc4b50d71e7..e18b8dd878c2 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -93,7 +93,7 @@ private: void ImplOpenChunk(sal_uLong nChunkType); void ImplWriteChunk(sal_uInt8 nNumb); void ImplWriteChunk(sal_uInt32 nNumb); - void ImplWriteChunk(unsigned char* pSource, sal_uInt32 nDatSize); + void ImplWriteChunk(unsigned char const * pSource, sal_uInt32 nDatSize); }; PNGWriterImpl::PNGWriterImpl( const BitmapEx& rBmpEx, @@ -674,7 +674,7 @@ void PNGWriterImpl::ImplWriteChunk (sal_uInt32 nSource) rChunkData.aData.push_back(static_cast<sal_uInt8>(nSource)); } -void PNGWriterImpl::ImplWriteChunk (unsigned char* pSource, sal_uInt32 nDatSize) +void PNGWriterImpl::ImplWriteChunk (unsigned char const * pSource, sal_uInt32 nDatSize) { if (nDatSize) { diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx index d64341ff168a..2ccb80ce2a36 100644 --- a/vcl/source/gdi/print2.cxx +++ b/vcl/source/gdi/print2.cxx @@ -127,7 +127,7 @@ bool DoesActionHandleTransparency( const MetaAction& rAct ) bool checkRect( tools::Rectangle& io_rPrevRect, Color& o_rBgColor, const tools::Rectangle& rCurrRect, - OutputDevice& rMapModeVDev ) + OutputDevice const & rMapModeVDev ) { // shape needs to fully cover previous content, and have uniform // color diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index a8dc7c504b86..aa28092c38bc 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -213,7 +213,7 @@ PrinterController::PrinterController( const VclPtr<Printer>& i_xPrinter ) mpImplData->mxPrinter = i_xPrinter; } -static OUString queryFile( Printer* pPrinter ) +static OUString queryFile( Printer const * pPrinter ) { OUString aResult; @@ -528,7 +528,7 @@ void Printer::ImplPrintJob(const std::shared_ptr<PrinterController>& xController FinishPrintJob(xController); } -bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::PrinterController>& i_xController) +bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::PrinterController> const & i_xController) { mnError = ERRCODE_NONE; @@ -1201,7 +1201,7 @@ int PrinterController::getFilteredPageCount() return (getPageCountProtected() + (nDiv-1)) / nDiv; } -DrawModeFlags PrinterController::removeTransparencies( GDIMetaFile& i_rIn, GDIMetaFile& o_rOut ) +DrawModeFlags PrinterController::removeTransparencies( GDIMetaFile const & i_rIn, GDIMetaFile& o_rOut ) { DrawModeFlags nRestoreDrawMode = mpImplData->mxPrinter->GetDrawMode(); sal_Int32 nMaxBmpDPIX = mpImplData->mxPrinter->GetDPIX(); diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx index 3b64a33fd6b8..ea01dfb1508d 100644 --- a/vcl/source/gdi/salgdilayout.cxx +++ b/vcl/source/gdi/salgdilayout.cxx @@ -136,7 +136,7 @@ void SalGraphics::mirror( long& x, const OutputDevice *pOutDev ) const } } -void SalGraphics::mirror( long& x, long& nWidth, const OutputDevice *pOutDev, bool bBack ) const +void SalGraphics::mirror( long& x, long nWidth, const OutputDevice *pOutDev, bool bBack ) const { long w; if( pOutDev && pOutDev->GetOutDevType() == OUTDEV_VIRDEV ) diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 11849a8e3e16..02e0ce27ee69 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -1048,7 +1048,7 @@ MultiSalLayout::~MultiSalLayout() } void MultiSalLayout::AddFallback( SalLayout& rFallback, - ImplLayoutRuns& rFallbackRuns, const PhysicalFontFace* pFallbackFont ) + ImplLayoutRuns const & rFallbackRuns, const PhysicalFontFace* pFallbackFont ) { if( mnLevel >= MAX_FALLBACK ) return; diff --git a/vcl/source/gdi/svmconverter.cxx b/vcl/source/gdi/svmconverter.cxx index fe7cfe2e3509..55087af5fb90 100644 --- a/vcl/source/gdi/svmconverter.cxx +++ b/vcl/source/gdi/svmconverter.cxx @@ -1482,7 +1482,7 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf ) rIStm.SetEndian( nOldFormat ); } -void SVMConverter::ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile& rMtf ) +void SVMConverter::ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile const & rMtf ) { sal_uLong nCountPos; vcl::Font aSaveFont; @@ -1524,7 +1524,7 @@ void SVMConverter::ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile& rMtf ) } } -sal_uLong SVMConverter::ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf, +sal_uLong SVMConverter::ImplWriteActions( SvStream& rOStm, GDIMetaFile const & rMtf, VirtualDevice& rSaveVDev, bool& rRop_0_1, Color& rLineCol, ::std::stack< Color* >& rLineColStack, rtl_TextEncoding& rActualCharSet ) |