summaryrefslogtreecommitdiff
path: root/starmath/inc/utility.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-28 21:39:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-29 18:25:17 +0200
commit5b77e676f57bab2de61dc430e8725c447b73354a (patch)
treea7d417d6c231afd547f02c41c68eae22b827b001 /starmath/inc/utility.hxx
parent2c1f77d34e5a660a72170e30986bd77d9b965ca1 (diff)
weld SmFontTypeDialog
Change-Id: I720196ce7359e6e571ecd26c544b9e6a61e17484 Reviewed-on: https://gerrit.libreoffice.org/53626 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/inc/utility.hxx')
-rw-r--r--starmath/inc/utility.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index a5a731577655..63871c3877e7 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -26,6 +26,7 @@
#include <vcl/fixed.hxx>
#include <vcl/combobox.hxx>
#include <vcl/lstbox.hxx>
+#include <vcl/weld.hxx>
#include <tools/fract.hxx>
#include <deque>
@@ -133,17 +134,17 @@ public:
// SmFontPickListBox
-class SmFontPickListBox final : public SmFontPickList, public ListBox
+class SmFontPickListBox final : public SmFontPickList
{
- DECL_LINK(SelectHdl, ListBox&, void);
+private:
+ std::unique_ptr<weld::ComboBoxText> m_xWidget;
-public:
- SmFontPickListBox(vcl::Window* pParent, WinBits nBits);
+ DECL_LINK(SelectHdl, weld::ComboBoxText&, void);
+public:
+ SmFontPickListBox(weld::ComboBoxText* pWidget);
SmFontPickListBox& operator = (const SmFontPickList& rList);
-
virtual void Insert(const vcl::Font &rFont) override;
- using Window::Update;
};
#endif