diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-02 10:04:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-02 12:23:16 +0200 |
commit | 5797d29e9ead0a3dd181b616dfcc968a9127012d (patch) | |
tree | ec8828c4c2e7617f8d8e9334507bab517aed6dc9 /framework/source/helper/tagwindowasmodified.cxx | |
parent | 4ea0390faa22037f1d4f703c0882a027cf2ae643 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Ic979f8a7734d0ef7a915d47a875cdcd460c0cc58
Diffstat (limited to 'framework/source/helper/tagwindowasmodified.cxx')
-rw-r--r-- | framework/source/helper/tagwindowasmodified.cxx | 4 |
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; } } |