diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-16 16:13:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-17 15:51:52 +0200 |
commit | 9489afdba6d234f5e5b0248df3afe0153794ab3e (patch) | |
tree | 8db167d7aaf7a9eb5ed19f41fd8126b37f82e6fa /forms/source/richtext | |
parent | 53b9adc135f4abb086c740582e5f85cea710287d (diff) |
rtl::Reference fits just fine here
Change-Id: Icb1ba7f7068f60c4bd5eda7002415214b3d885f3
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextcontrol.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 60ec1f6bf2a2..5ca9cac35c8e 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -683,7 +683,7 @@ namespace frm } if ( aDispatcherPos != m_aDispatchers.end() ) - xReturn = aDispatcherPos->second.getRef(); + xReturn = aDispatcherPos->second.get(); } } diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index 49da4ca397bc..38dabbf593eb 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -25,8 +25,8 @@ #include <com/sun/star/frame/XDispatchProvider.hpp> #include <comphelper/uno3.hxx> -#include <comphelper/implementationreference.hxx> #include <cppuhelper/implbase1.hxx> +#include <rtl/ref.hxx> #include <tools/wintypes.hxx> #include "rtattributes.hxx" #include "attributedispatcher.hxx" @@ -86,7 +86,7 @@ namespace frm ,public ITextSelectionListener { private: - typedef ::comphelper::ImplementationReference< ORichTextFeatureDispatcher, ::com::sun::star::frame::XDispatch > SingleAttributeDispatcher; + typedef rtl::Reference<ORichTextFeatureDispatcher> SingleAttributeDispatcher; typedef ::std::map< SfxSlotId, SingleAttributeDispatcher > AttributeDispatchers; AttributeDispatchers m_aDispatchers; |