summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/DragMethod_Base.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/DragMethod_Base.hxx')
-rw-r--r--chart2/source/controller/main/DragMethod_Base.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/main/DragMethod_Base.hxx b/chart2/source/controller/main/DragMethod_Base.hxx
index b036da0e9fdf..df124406894c 100644
--- a/chart2/source/controller/main/DragMethod_Base.hxx
+++ b/chart2/source/controller/main/DragMethod_Base.hxx
@@ -20,19 +20,19 @@
#include <svx/ActionDescriptionProvider.hxx>
#include <svx/svddrgmt.hxx>
-#include <cppuhelper/weakref.hxx>
+#include <unotools/weakref.hxx>
namespace chart { class DrawViewWrapper; }
-namespace com::sun::star::frame { class XModel; }
namespace chart
{
+class ChartModel;
class DragMethod_Base : public SdrDragMethod
{
public:
- DragMethod_Base( DrawViewWrapper& rDrawViewWrapper, const OUString& rObjectCID
- , const css::uno::Reference< css::frame::XModel >& xChartModel
+ DragMethod_Base( DrawViewWrapper& rDrawViewWrapper, OUString aObjectCID
+ , const rtl::Reference<::chart::ChartModel>& xChartModel
, ActionDescriptionProvider::ActionType eActionType = ActionDescriptionProvider::ActionType::Move );
virtual ~DragMethod_Base() override;
@@ -42,7 +42,7 @@ public:
virtual PointerStyle GetSdrDragPointer() const override;
protected:
- css::uno::Reference< css::frame::XModel > getChartModel() const;
+ rtl::Reference<::chart::ChartModel> getChartModel() const;
protected:
DrawViewWrapper& m_rDrawViewWrapper;
@@ -50,7 +50,7 @@ protected:
ActionDescriptionProvider::ActionType m_eActionType;
private:
- css::uno::WeakReference< css::frame::XModel > m_xChartModel;
+ unotools::WeakReference<::chart::ChartModel> m_xChartModel;
};
} // namespace chart