diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 12:26:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 14:23:39 +0200 |
commit | 56be2245bf11ddb64fcfbf8175a864d688ac5c1a (patch) | |
tree | 567e7e061a2d1caf653fd44cc02e9c26512cb230 /emfio/source | |
parent | 2702c2d1eb9af2d03d5e0a1b7704ab170a5e8d31 (diff) |
loplugin:constparams in dbaccess
Change-Id: I4994c4f0ae614c8f98466f440412f28380ddd6a6
Reviewed-on: https://gerrit.libreoffice.org/40589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio/source')
-rw-r--r-- | emfio/source/reader/mtftools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx index 7c2938730b42..1698eec4a37a 100644 --- a/emfio/source/reader/mtftools.cxx +++ b/emfio/source/reader/mtftools.cxx @@ -1404,7 +1404,7 @@ namespace emfio } } - void MtfTools::DrawText( Point& rPosition, OUString& rText, long* pDXArry, long* pDYArry, bool bRecordPath, sal_Int32 nGfxMode ) + void MtfTools::DrawText( Point& rPosition, OUString const & rText, long* pDXArry, long* pDYArry, bool bRecordPath, sal_Int32 nGfxMode ) { UpdateClipRegion(); rPosition = ImplMap( rPosition ); @@ -2272,7 +2272,7 @@ namespace emfio mpGDIMetaFile->UseCanvas( true ); } - void MtfTools::PassEMFPlus( void* pBuffer, sal_uInt32 nLength ) + void MtfTools::PassEMFPlus( void const * pBuffer, sal_uInt32 nLength ) { EMFP_DEBUG(printf ("\t\t\tadd EMF_PLUS comment length %04x\n",(unsigned int) nLength)); mpGDIMetaFile->AddAction( new MetaCommentAction( "EMF_PLUS", 0, static_cast<const sal_uInt8*>(pBuffer), nLength ) ); |