diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-01 13:31:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-01 12:19:58 +0000 |
commit | 64a06ba4bd35e91acd1d9743f9851904eebd1add (patch) | |
tree | fc0cd8aae899611323c3ccc1115387c280844342 /vcl/inc | |
parent | 644aea938b470dd870267983411c484c166a783d (diff) |
loplugin:constantparam in vcl
Change-Id: I5af0906ced6d0e917b54dee22577fa40d134464c
Reviewed-on: https://gerrit.libreoffice.org/23719
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/listbox.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/salsession.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/unx/salbmp.h | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index 25c37f5699d2..863bef640f76 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -570,7 +570,7 @@ public: void EnableUserDraw( bool bUserDraw ) { mbUserDrawEnabled = bUserDraw; } bool IsUserDrawEnabled() const { return mbUserDrawEnabled; } - void DrawEntry(vcl::RenderContext& rRenderContext, bool bDrawImage, bool bDrawText, + void DrawEntry(vcl::RenderContext& rRenderContext, bool bDrawImage, bool bDrawTextAtImagePos = false, bool bLayout = false); bool GetEdgeBlending() const { return mbEdgeBlending; } diff --git a/vcl/inc/salsession.hxx b/vcl/inc/salsession.hxx index 868ad1edaf64..fb9763bb6882 100644 --- a/vcl/inc/salsession.hxx +++ b/vcl/inc/salsession.hxx @@ -52,12 +52,10 @@ struct SalSessionInteractionEvent : public SalSessionEvent struct SalSessionSaveRequestEvent : public SalSessionEvent { bool m_bShutdown; - bool m_bCancelable; - SalSessionSaveRequestEvent( bool bShutdown, bool bCancelable ) + SalSessionSaveRequestEvent( bool bShutdown ) : SalSessionEvent( SaveRequest ), - m_bShutdown( bShutdown ), - m_bCancelable( bCancelable ) + m_bShutdown( bShutdown ) {} }; diff --git a/vcl/inc/unx/salbmp.h b/vcl/inc/unx/salbmp.h index 4239ec65626d..71823cacc65e 100644 --- a/vcl/inc/unx/salbmp.h +++ b/vcl/inc/unx/salbmp.h @@ -229,7 +229,7 @@ public: ImplSalBitmapCache(); ~ImplSalBitmapCache(); - void ImplAdd( X11SalBitmap* pBmp, sal_uIntPtr nMemSize = 0UL, sal_uIntPtr nFlags = 0UL ); + void ImplAdd( X11SalBitmap* pBmp, sal_uIntPtr nMemSize = 0UL ); void ImplRemove( X11SalBitmap* pBmp ); void ImplClear(); }; |