diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-06 17:39:01 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-26 00:51:05 +0200 |
commit | 5b6e338f5c9383aad6efae9b4d1420e12b2397ca (patch) | |
tree | 4e984f2bd9492b0ab09dbddb47163252918d8bf9 /sw/inc | |
parent | ea0962fbb21814db30fef8adaad10a1e4f97b8c3 (diff) |
use new unocrsrs in SwChartDataSequence
Change-Id: Ib49bba8a948e2f51c590bd27c9a98e7348180bbf
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(); |