diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-28 14:33:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-29 10:07:40 +0200 |
commit | c4041a3b6c703254ee3977eef1a989992506772b (patch) | |
tree | f696f93baa565d865fd8a883da6d6e9d689e9eb2 /include/vcl/weld.hxx | |
parent | 66cd438e3545edecaa05aa27beb289c6a6df53fc (diff) |
weld SvxSwPosSizeTabPage
Change-Id: I51c83ec801884a07f7920309535a58b55171b0be
Reviewed-on: https://gerrit.libreoffice.org/54934
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 'include/vcl/weld.hxx')
-rw-r--r-- | include/vcl/weld.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index b890bf197498..fe45e32e0b03 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -684,7 +684,7 @@ public: } void set_help_id(const OString& rName) { m_xSpinButton->set_help_id(rName); } void set_position(int nCursorPos) { m_xSpinButton->set_position(nCursorPos); } - const weld::SpinButton* get_widget() const { return m_xSpinButton.get(); } + weld::SpinButton& get_widget() { return *m_xSpinButton; } }; class VCL_DLLPUBLIC TimeSpinButton @@ -741,7 +741,7 @@ public: return m_xSpinButton->get_value_changed_from_saved(); } void set_position(int nCursorPos) { m_xSpinButton->set_position(nCursorPos); } - weld::SpinButton* get_widget() { return m_xSpinButton.get(); } + weld::SpinButton& get_widget() { return *m_xSpinButton; } }; class VCL_DLLPUBLIC Label : virtual public Widget |