summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/misc/statusbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/misc/statusbarcontroller.cxx')
-rw-r--r--reportdesign/source/ui/misc/statusbarcontroller.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/reportdesign/source/ui/misc/statusbarcontroller.cxx b/reportdesign/source/ui/misc/statusbarcontroller.cxx
index b69fa43224d4..c85988e69e94 100644
--- a/reportdesign/source/ui/misc/statusbarcontroller.cxx
+++ b/reportdesign/source/ui/misc/statusbarcontroller.cxx
@@ -223,6 +223,8 @@ void SAL_CALL OStatusbarController::update() throw ( RuntimeException )
// XComponent
void SAL_CALL OStatusbarController::dispose() throw (::com::sun::star::uno::RuntimeException)
{
+ Reference< XComponent > xComp( m_pController.getRef(), UNO_QUERY );
+ ::comphelper::disposeComponent(xComp);
m_pController.dispose();
svt::StatusbarController::dispose();
}