diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:27:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:27:41 +0200 |
commit | 34fb5d7e91a7cd4c986434e6d6a3a67f12c65f7a (patch) | |
tree | 0f421d58ba594af311b066434a3f5f0be0cb1f7d /vcl/inc | |
parent | 1cea5a80a71243e780bfc2cc161044449a87eda9 (diff) |
loplugin:casttovoid: vcl
Change-Id: Icdc9d009849f2a93f6e1dbba07b1042dbb1ff561
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/headless/svpframe.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkgdi.hxx | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx index a045683991b9..eed5efec0c66 100644 --- a/vcl/inc/headless/svpframe.hxx +++ b/vcl/inc/headless/svpframe.hxx @@ -114,8 +114,8 @@ public: virtual void EndSetClipRegion() override; /*TODO: functional implementation */ - virtual void SetScreenNumber( unsigned int nScreen ) override { (void)nScreen; } - virtual void SetApplicationID(const OUString &rApplicationID) override { (void) rApplicationID; } + virtual void SetScreenNumber( unsigned int ) override {} + virtual void SetApplicationID(const OUString &) override {} }; diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index 168c98d82dbb..6a057078f04f 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -205,24 +205,21 @@ private: static tools::Rectangle NWGetScrollButtonRect( ControlPart nPart, tools::Rectangle aAreaRect ); static tools::Rectangle NWGetSpinButtonRect( ControlPart nPart, tools::Rectangle aAreaRect); - static tools::Rectangle NWGetComboBoxButtonRect( ControlType nType, ControlPart nPart, tools::Rectangle aAreaRect ); + static tools::Rectangle NWGetComboBoxButtonRect( ControlPart nPart, tools::Rectangle aAreaRect ); static void PaintScrollbar(GtkStyleContext *context, cairo_t *cr, const tools::Rectangle& rControlRectangle, - ControlType nType, ControlPart nPart, const ImplControlValue& aValue ); void PaintOneSpinButton( GtkStyleContext *context, cairo_t *cr, - ControlType nType, ControlPart nPart, tools::Rectangle aAreaRect, ControlState nState ); void PaintSpinButton(GtkStateFlags flags, cairo_t *cr, const tools::Rectangle& rControlRectangle, - ControlType nType, ControlPart nPart, const ImplControlValue& aValue); static void PaintCombobox(GtkStateFlags flags, |