summaryrefslogtreecommitdiff
path: root/sfx2/source/control/unoctitm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control/unoctitm.cxx')
-rw-r--r--sfx2/source/control/unoctitm.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index b22e843075c1..8ec6c12a8d0f 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -126,14 +126,6 @@ SfxUnoControllerItem::~SfxUnoControllerItem()
pBindings->ReleaseUnoController_Impl( this );
}
-void SfxUnoControllerItem::UnBind()
-{
- // connection to SfxControllerItem is lost
- pCtrlItem = nullptr;
- css::uno::Reference< css::frame::XStatusListener > aRef( static_cast<cppu::OWeakObject*>(this), css::uno::UNO_QUERY );
- ReleaseDispatch();
-}
-
void SAL_CALL SfxUnoControllerItem::statusChanged(const css::frame::FeatureStateEvent& rEvent) throw ( css::uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;