summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/factories/BasicPaneFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/factories/BasicPaneFactory.cxx')
-rw-r--r--sd/source/ui/framework/factories/BasicPaneFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.cxx b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
index c91265f3446f..d74a69715329 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
@@ -143,7 +143,7 @@ void SAL_CALL BasicPaneFactory::disposing (void)
{
xCC->removeResourceFactoryForReference(this);
xCC->removeConfigurationChangeListener(this);
- mxConfigurationControllerWeak = Reference<XConfigurationController>();
+ mxConfigurationControllerWeak.clear();
}
for (PaneContainer::const_iterator iDescriptor = mpPaneContainer->begin();
@@ -398,7 +398,7 @@ void SAL_CALL BasicPaneFactory::disposing (
{
if (mxConfigurationControllerWeak == rEventObject.Source)
{
- mxConfigurationControllerWeak = Reference<XConfigurationController>();
+ mxConfigurationControllerWeak.clear();
}
else
{