diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-14 15:07:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-17 15:11:47 +0200 |
commit | 76c7cabc42a239dbaf9e72122d36fb213e5a3555 (patch) | |
tree | 94eac2ae99855b7410168ad4f7be9ea9a8a02d60 /include/svx/frmdirlbox.hxx | |
parent | 60a23d5d5f0963cd9bea7711ff4336418e3d6392 (diff) |
rename to weld::ComboBox are they are not text only now
Change-Id: Ice26d1fd2ad97a6959c6916fef428777efea9c2d
Reviewed-on: https://gerrit.libreoffice.org/60500
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/frmdirlbox.hxx')
-rw-r--r-- | include/svx/frmdirlbox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/frmdirlbox.hxx b/include/svx/frmdirlbox.hxx index 405065199da9..62d374e06a13 100644 --- a/include/svx/frmdirlbox.hxx +++ b/include/svx/frmdirlbox.hxx @@ -56,9 +56,9 @@ public: class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxFrameDirectionListBox { private: - std::unique_ptr<weld::ComboBoxText> m_xControl; + std::unique_ptr<weld::ComboBox> m_xControl; public: - explicit SvxFrameDirectionListBox(std::unique_ptr<weld::ComboBoxText> pControl) + explicit SvxFrameDirectionListBox(std::unique_ptr<weld::ComboBox> pControl) : m_xControl(std::move(pControl)) { } @@ -77,7 +77,7 @@ public: { m_xControl->append(OUString::number(static_cast<sal_uInt32>(eDirection)), rString); } - void connect_changed(const Link<weld::ComboBoxText&, void>& rLink) { m_xControl->connect_changed(rLink); } + void connect_changed(const Link<weld::ComboBox&, void>& rLink) { m_xControl->connect_changed(rLink); } }; /** Wrapper for usage of a FrameDirectionListBox in item connections. */ |