diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-06-06 02:38:02 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-06-09 12:55:01 +0200 |
commit | 34040b3eef0c9c7b69cdfd7e3ba3fe34f4c5da38 (patch) | |
tree | 225d991aa2f7348ba5cd947bd2655936a1d34789 /sw/inc/unochart.hxx | |
parent | 30f3315d52df22716c086836c41465a6c4cb98b5 (diff) |
use UnoCursorPointer in SwXCellRange and SwChartDataSequence
Change-Id: I23d75d094c2b2dd8d234b608556a8b2339b7f166
Diffstat (limited to 'sw/inc/unochart.hxx')
-rw-r--r-- | sw/inc/unochart.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index 43f46c972463..4bfd2e04db81 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -50,12 +50,12 @@ #include <calbck.hxx> #include <frmfmt.hxx> +#include <unocrsr.hxx> class SfxItemPropertySet; class SwDoc; class SwTable; class SwTableBox; -class SwUnoCrsr; struct SwRangeDescriptor; class SwSelBoxes; class SwFrameFormat; @@ -265,8 +265,7 @@ class SwChartDataSequence : ::com::sun::star::uno::Reference< com::sun::star::chart2::data::XDataProvider > xDataProvider; SwChartDataProvider * pDataProvider; - std::shared_ptr<SwUnoCrsr> pTableCrsr; // cursor spanned over cells to use - SwDepend aCursorDepend; //the cursor is removed after the doc has been removed + sw::UnoCursorPointer pTableCrsr; // cursor spanned over cells to use const SfxItemPropertySet* _pPropSet; @@ -278,7 +277,6 @@ class SwChartDataSequence : protected: //SwClient virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) SAL_OVERRIDE; - virtual void SwClientNotify(const SwModify&, const SfxHint&) SAL_OVERRIDE; public: SwChartDataSequence( SwChartDataProvider &rProvider, |