diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 09:45:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 10:37:35 +0200 |
commit | 9ffba2ea6c6880bce955b53ab20b5d99e2709cd3 (patch) | |
tree | 75a066697cf66b37e20ee10df33c07aec9768b7e /vcl/inc | |
parent | 8ac571d47045108d40ff6e6ff2128affeee402de (diff) |
loplugin:checkunusedparams in vcl
Change-Id: I0d8f230b52fc64a2f8a8519d458a7a766ce685eb
Reviewed-on: https://gerrit.libreoffice.org/37277
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtkgdi.hxx | 100 |
1 files changed, 38 insertions, 62 deletions
diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index e8b425436b64..168c98d82dbb 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -309,56 +309,43 @@ protected: const OUString& rCaption, ControlCacheKey& rControlCacheKey); - bool NWPaintGTKArrow( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + bool NWPaintGTKArrow( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKListHeader( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState, const ImplControlValue& aValue ); + bool NWPaintGTKListHeader( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKFixedLine( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState ); + bool NWPaintGTKFixedLine( GdkDrawable* gdkDrawable, ControlPart nPart, + const tools::Rectangle& rControlRectangle ); + bool NWPaintGTKFrame( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKFrame( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + const ImplControlValue& aValue ); + bool NWPaintGTKWindowBackground( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, - const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKWindowBackground( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, - const tools::Rectangle& rControlRectangle, - const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKButtonReal( GtkWidget* button, GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + const std::list< tools::Rectangle >& rClipList ); + bool NWPaintGTKButtonReal( GtkWidget* button, GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKButton( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState ); + bool NWPaintGTKButton( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKRadio( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState ); + bool NWPaintGTKRadio( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKCheck( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState, const ImplControlValue& aValue ); + bool NWPaintGTKCheck( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKScrollbar( ControlType nType, ControlPart nPart, + ControlState nState, const ImplControlValue& aValue ); + bool NWPaintGTKScrollbar( ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); + ControlState nState, const ImplControlValue& aValue ); bool NWPaintGTKEditBox( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, @@ -375,52 +362,41 @@ protected: const std::list< tools::Rectangle >& rClipList, ControlState nState, const ImplControlValue& aValue, const OUString& rCaption ); - bool NWPaintGTKTabItem( ControlType nType, ControlPart nPart, + bool NWPaintGTKTabItem( ControlType nType, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKListBox( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState, const ImplControlValue& aValue ); + bool NWPaintGTKListBox( GdkDrawable* gdkDrawable, ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); + ControlState nState ); - bool NWPaintGTKToolbar( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + bool NWPaintGTKToolbar( GdkDrawable* gdkDrawable, ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKMenubar( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState, const ImplControlValue& aValue ); + bool NWPaintGTKMenubar( GdkDrawable* gdkDrawable, ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKPopupMenu( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState ); + bool NWPaintGTKPopupMenu( GdkDrawable* gdkDrawable, ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKTooltip( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState ); + bool NWPaintGTKTooltip( GdkDrawable* gdkDrawable, const tools::Rectangle& rControlRectangle, - const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKProgress( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + const std::list< tools::Rectangle >& rClipList ); + bool NWPaintGTKProgress( const tools::Rectangle& rControlRectangle, - const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKSlider( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + const ImplControlValue& aValue ); + bool NWPaintGTKSlider( ControlPart nPart, const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); - bool NWPaintGTKListNode( GdkDrawable* gdkDrawable, ControlType nType, ControlPart nPart, + ControlState nState, const ImplControlValue& aValue ); + bool NWPaintGTKListNode( const tools::Rectangle& rControlRectangle, const std::list< tools::Rectangle >& rClipList, - ControlState nState, const ImplControlValue& aValue, - const OUString& rCaption ); + ControlState nState, const ImplControlValue& aValue ); }; #endif // !gtk3 |