Kaydet (Commit) 9489afdb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

rtl::Reference fits just fine here

Change-Id: Icb1ba7f7068f60c4bd5eda7002415214b3d885f3
üst 53b9adc1
......@@ -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;
......
......@@ -683,7 +683,7 @@ namespace frm
}
if ( aDispatcherPos != m_aDispatchers.end() )
xReturn = aDispatcherPos->second.getRef();
xReturn = aDispatcherPos->second.get();
}
}
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment