diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 16:18:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 07:21:32 +0100 |
commit | be354a2abd27548405caf97fdbc814b5a6b06995 (patch) | |
tree | a044c734c912a9a194f380d31aabd679772916b2 /sdext | |
parent | c947a25b3a785f8d43160671f79e3bb503dfb1ae (diff) |
loplugin:constparams
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b
Reviewed-on: https://gerrit.libreoffice.org/45959
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index fa763df01918..85647b6a3c22 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -337,8 +337,8 @@ void writePng_( OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, - GfxRGB& zeroColor, - GfxRGB& oneColor, + GfxRGB const & zeroColor, + GfxRGB const & oneColor, bool bIsMask, bool bWithLinefeed ) { diff --git a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx index 3caed120648e..08ff1958ad63 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx @@ -177,8 +177,8 @@ void PngHelper::createPng( OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, - GfxRGB& zeroColor, - GfxRGB& oneColor, + GfxRGB const & zeroColor, + GfxRGB const & oneColor, bool bIsMask ) { diff --git a/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx b/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx index e26de3774bff..865428d4da03 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx @@ -59,8 +59,8 @@ namespace pdfi Stream* str, int width, int height, - GfxRGB& zeroColor, - GfxRGB& oneColor, + GfxRGB const & zeroColor, + GfxRGB const & oneColor, bool bIsMask ); static void createPng( OutputBuffer& o_rOutputBuf, |