summaryrefslogtreecommitdiffstats
path: root/framework/source/helper/tagwindowasmodified.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper/tagwindowasmodified.cxx')
-rw-r--r--framework/source/helper/tagwindowasmodified.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx
index 8048b084d276..15104f5fb8b6 100644
--- a/framework/source/helper/tagwindowasmodified.cxx
+++ b/framework/source/helper/tagwindowasmodified.cxx
@@ -139,7 +139,7 @@ void SAL_CALL TagWindowAsModified::disposing(const css::lang::EventObject& aEven
(aEvent.Source == xFrame)
)
{
- m_xFrame = css::uno::Reference< css::frame::XFrame >();
+ m_xFrame.clear();
return;
}
@@ -149,7 +149,7 @@ void SAL_CALL TagWindowAsModified::disposing(const css::lang::EventObject& aEven
(aEvent.Source == xModel)
)
{
- m_xModel = css::uno::Reference< css::frame::XModel >();
+ m_xModel.clear();
return;
}
}