summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-16 16:13:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-17 15:51:52 +0200
commit9489afdba6d234f5e5b0248df3afe0153794ab3e (patch)
tree8db167d7aaf7a9eb5ed19f41fd8126b37f82e6fa /forms
parent53b9adc135f4abb086c740582e5f85cea710287d (diff)
rtl::Reference fits just fine here
Change-Id: Icb1ba7f7068f60c4bd5eda7002415214b3d885f3
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ImageControl.hxx1
-rw-r--r--forms/source/richtext/richtextcontrol.cxx2
-rw-r--r--forms/source/richtext/richtextcontrol.hxx4
3 files changed, 3 insertions, 4 deletions
diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx
index 2e85a5990f53..4caaf90b2e94 100644
--- a/forms/source/component/ImageControl.hxx
+++ b/forms/source/component/ImageControl.hxx
@@ -27,7 +27,6 @@
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/graphic/XGraphicObject.hpp>
#include <comphelper/propmultiplex.hxx>
-#include <comphelper/implementationreference.hxx>
#include <cppuhelper/implbase2.hxx>
using namespace comphelper;
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;