extensions/source/propctrlr/standardcontrol.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit a54bfd33dd08569d364d14892866f5d00baa4424 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jul 16 12:25:06 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jul 16 15:46:01 2020 +0200 drop m_xFormatter during disposing Change-Id: Iac3e04e9f3a0efa0a8bf241f7ea6bbc6703b862f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98899 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index 1eccceb9451e..ead1f26bfb6e 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -32,8 +32,6 @@ namespace pcr { - - //= OTimeControl typedef CommonBehaviourControl<css::inspection::XPropertyControl, weld::FormattedSpinButton> OTimeControl_Base; class OTimeControl : public OTimeControl_Base @@ -42,6 +40,12 @@ namespace pcr public: OTimeControl(std::unique_ptr<weld::FormattedSpinButton> xWidget, std::unique_ptr<weld::Builder> xBuilder, bool bReadOnly); + virtual void SAL_CALL disposing() override + { + m_xFormatter.reset(); + OTimeControl_Base::disposing(); + } + // XPropertyControl virtual css::uno::Any SAL_CALL getValue() override; virtual void SAL_CALL setValue( const css::uno::Any& _value ) override; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits