[Libreoffice-commits] core.git: svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 14 16:26:01 UTC 2020
svtools/source/brwbox/ebbcontrols.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit b9b638f2cfdfe8c82363e13ad1b1b606316a45e5
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 14 14:06:22 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 14 18:25:10 2020 +0200
drop formatter during dispose
Change-Id: I5c945cc462f9c2119e08f138f572ab6d926de735
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98731
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index cd65d3ed0264..69ed4d6b6b06 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -426,7 +426,10 @@ namespace svt
void FormattedControlBase::dispose()
{
- m_xEntryFormatter.reset();
+ if (m_bSpinVariant)
+ m_xSpinButton->SetFormatter(nullptr);
+ else
+ m_xEntryFormatter.reset();
m_xSpinButton.reset();
m_xEntry.reset();
EditControlBase::dispose();
More information about the Libreoffice-commits
mailing list