summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 10:04:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 08:13:06 +0200
commitb9f9f8253f89151beed27499e6db5c11a7d81eba (patch)
tree67e1506ecce80867e8a7fbf07ffe2ac5c1f6ad11 /include/vcl
parent0a910746b19f10f184f6ff8f41c868994a472ca9 (diff)
loplugin:constparams
Change-Id: I3d1b88dbd0ff73fddc08d52f50e0efb42daab89b Reviewed-on: https://gerrit.libreoffice.org/52756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/BitmapTools.hxx4
-rw-r--r--include/vcl/outdev.hxx2
-rw-r--r--include/vcl/tabctrl.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
index 00f7d1b89b5e..2064cb2d01dc 100644
--- a/include/vcl/BitmapTools.hxx
+++ b/include/vcl/BitmapTools.hxx
@@ -109,9 +109,9 @@ VCL_DLLPUBLIC css::uno::Sequence< sal_Int8 > GetMaskDIB(BitmapEx const & aBmpEx)
* @param data will be filled with alpha data, if xBitmap is alpha/transparent image
* @param bHasAlpha will be set to true if resulting surface has alpha
**/
-VCL_DLLPUBLIC void CanvasCairoExtractBitmapData( BitmapEx & rBmpEx, Bitmap & rBitmap, unsigned char*& data, bool& bHasAlpha, long& rnWidth, long& rnHeight );
+VCL_DLLPUBLIC void CanvasCairoExtractBitmapData( BitmapEx const & rBmpEx, Bitmap & rBitmap, unsigned char*& data, bool& bHasAlpha, long& rnWidth, long& rnHeight );
-VCL_DLLPUBLIC css::uno::Sequence< sal_Int8 > CanvasExtractBitmapData(BitmapEx & rBitmapEx, const css::geometry::IntegerRectangle2D& rect);
+VCL_DLLPUBLIC css::uno::Sequence< sal_Int8 > CanvasExtractBitmapData(BitmapEx const & rBitmapEx, const css::geometry::IntegerRectangle2D& rect);
}} // end vcl::bitmap
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 649faa6388ef..8a2d63b44176 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1507,7 +1507,7 @@ private:
SAL_DLLPRIVATE void DrawDeviceAlphaBitmapSlowPath(
const Bitmap& rBitmap, const AlphaMask& rAlpha,
tools::Rectangle aDstRect, tools::Rectangle aBmpRect,
- Size& aOutSz, Point& aOutPt);
+ Size const & aOutSz, Point const & aOutPt);
SAL_DLLPRIVATE void BlendBitmap(
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index 747b30160fac..6286ecea7ef7 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -72,7 +72,7 @@ protected:
SAL_DLLPRIVATE bool ImplPosCurTabPage();
virtual void ImplActivateTabPage( bool bNext );
SAL_DLLPRIVATE void ImplShowFocus();
- SAL_DLLPRIVATE void ImplDrawItem(vcl::RenderContext& rRenderContext, ImplTabItem* pItem,
+ SAL_DLLPRIVATE void ImplDrawItem(vcl::RenderContext& rRenderContext, ImplTabItem const * pItem,
const tools::Rectangle& rCurRect, bool bFirstInGroup,
bool bLastInGroup);
SAL_DLLPRIVATE void ImplFreeLayoutData();