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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index f587569adca5..260e6c056c4c 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -2304,9 +2304,8 @@ public: bool bTakeOwnership) override { weld::TimeSpinButton* pRet = new weld::TimeSpinButton(weld_spin_button(id, bTakeOwnership), eFormat); - SalInstanceSpinButton* pButton = dynamic_cast<SalInstanceSpinButton*>(pRet->get_widget()); - assert(pButton); - pButton->DisableRemainderFactor(); //so with hh::mm::ss, incrementing mm will not reset ss + SalInstanceSpinButton& rButton = dynamic_cast<SalInstanceSpinButton&>(pRet->get_widget()); + rButton.DisableRemainderFactor(); //so with hh::mm::ss, incrementing mm will not reset ss return pRet; } |