diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-26 12:27:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-27 11:42:27 +0200 |
commit | bd28564be85ee51dc08cb2591840e1cb00263e28 (patch) | |
tree | 192a63ee3898075f7fe60738f65ec72421cb441c /include/vcl/button.hxx | |
parent | 02dc2cafbb0364556a4145633485f3c9f082b43d (diff) |
loplugin:returnconstant in vcl
Change-Id: I597ef6d75d1c21cdc15a91bf7f549bc14c851506
Reviewed-on: https://gerrit.libreoffice.org/58086
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/button.hxx')
-rw-r--r-- | include/vcl/button.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 85f798af5c90..ddc61afdd02d 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -81,7 +81,7 @@ public: static OUString GetStandardText( StandardButtonType eButton ); - bool SetModeImage( const Image& rImage ); + void SetModeImage( const Image& rImage ); Image const & GetModeImage( ) const; bool HasImage() const; void SetImageAlign( ImageAlign eAlign ); @@ -341,7 +341,7 @@ public: void EnableRadioCheck( bool bRadioCheck ) { mbRadioCheck = bRadioCheck; } bool IsRadioCheckEnabled() const { return mbRadioCheck; } - bool SetModeRadioImage( const Image& rImage ); + void SetModeRadioImage( const Image& rImage ); const Image& GetModeRadioImage( ) const { return maImage;} void SetState( bool bCheck ); |