diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unochart.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index ebee75cf4092..43f46c972463 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -265,7 +265,7 @@ class SwChartDataSequence : ::com::sun::star::uno::Reference< com::sun::star::chart2::data::XDataProvider > xDataProvider; SwChartDataProvider * pDataProvider; - SwUnoCrsr* pTableCrsr; // cursor spanned over cells to use + std::shared_ptr<SwUnoCrsr> pTableCrsr; // cursor spanned over cells to use SwDepend aCursorDepend; //the cursor is removed after the doc has been removed const SfxItemPropertySet* _pPropSet; @@ -278,11 +278,12 @@ 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, - SwFrameFormat &rTableFormat, - SwUnoCrsr *pTableCursor ); + SwFrameFormat &rTblFmt, + std::shared_ptr<SwUnoCrsr> pTableCursor ); virtual ~SwChartDataSequence(); static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); |