diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-01 21:41:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-02 12:29:17 +0100 |
commit | e2205c4876723876bcaf1dd5ce494debab97591a (patch) | |
tree | f6f096d0fde4d10f942cf76663880aa9b31bc623 /include | |
parent | 32ca9f268142d2f26d0ec39ff3af989e78f51c8d (diff) |
no difference between ImageRadioButton and RadioButton
Change-Id: Iae5b7fe329273f34d3e94f1136acdac0d55d1ced
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87816
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/ControlFactory.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/sidebar/TabItem.hxx | 2 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 2 | ||||
-rw-r--r-- | include/vcl/button.hxx | 9 |
4 files changed, 4 insertions, 13 deletions
diff --git a/include/sfx2/sidebar/ControlFactory.hxx b/include/sfx2/sidebar/ControlFactory.hxx index 26ef4a7134e3..7deebf1ab92c 100644 --- a/include/sfx2/sidebar/ControlFactory.hxx +++ b/include/sfx2/sidebar/ControlFactory.hxx @@ -23,7 +23,7 @@ #include <vcl/vclptr.hxx> class CheckBox; -class ImageRadioButton; +class RadioButton; namespace vcl { class Window; } namespace sfx2 { namespace sidebar { @@ -40,7 +40,7 @@ public: */ static VclPtr<CheckBox> CreateMenuButton (vcl::Window* pParentWindow); - static VclPtr<ImageRadioButton> CreateTabItem (vcl::Window* pParentWindow); + static VclPtr<RadioButton> CreateTabItem (vcl::Window* pParentWindow); }; diff --git a/include/sfx2/sidebar/TabItem.hxx b/include/sfx2/sidebar/TabItem.hxx index 43dd79acbede..8d54640a680c 100644 --- a/include/sfx2/sidebar/TabItem.hxx +++ b/include/sfx2/sidebar/TabItem.hxx @@ -28,7 +28,7 @@ namespace sfx2 { namespace sidebar { /** A single button in the tab bar. */ class TabItem final - : public ImageRadioButton + : public RadioButton { public: TabItem (vcl::Window* pParentWindow); diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 86036fe7130a..66ba3b212f4f 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -69,7 +69,7 @@ class ListBox WinBits WB_RADIOSEL If set the selection will be drawn like an - ImageRadioButton. This does only make sense if the image + RadioButton. This does only make sense if the image is at least 8 pixel smaller on each side than the item and also WB_DOUBLEBORDER is set and as color COL_WINDOWWORKSPACE is specified. diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index d0aa24757ae1..e5a5b7de51f5 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -499,15 +499,6 @@ public: ImageButton( vcl::Window* pParent, WinBits nStyle = 0 ); }; -class VCL_DLLPUBLIC ImageRadioButton : public RadioButton -{ - ImageRadioButton( const ImageRadioButton & ) = delete; - ImageRadioButton & operator= ( const ImageRadioButton & ) = delete; - -public: - explicit ImageRadioButton( vcl::Window* pParent ); -}; - class VCL_DLLPUBLIC TriStateBox final : public CheckBox { TriStateBox( const TriStateBox & ) = delete; |