summaryrefslogtreecommitdiff
path: root/framework/source/uielement/spinfieldtoolbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/spinfieldtoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/spinfieldtoolbarcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
index 3a7de070d5f2..629e254ebaa0 100644
--- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx
+++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
@@ -213,7 +213,7 @@ throw ( RuntimeException, std::exception )
SolarMutexGuard aSolarMutexGuard;
m_pToolbar->SetItemWindow( m_nID, 0 );
- m_pSpinfieldControl.clear();
+ m_pSpinfieldControl.disposeAndClear();
ComplexToolbarController::dispose();
}