diff options
author | Henry Castro <hcastro@collabora.com> | 2018-06-08 17:09:55 -0400 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-07-04 21:55:15 +0200 |
commit | ee7638061e787e6a1c37b2d3be1c14852cbc3381 (patch) | |
tree | 2c035655049c8dd41a34ee67acb30ce7f26d1d28 /sc/source/filter/excel | |
parent | 6d7d6d2474e7c37da25cfb6ec88bfb84eb08b62b (diff) |
sc: replace ScCaptionPtr with std::shared_ptr, tdf#117997, tdf#117228
Change-Id: I9b6a2c2504c9ce060906ac3bf156721709fef2f3
Reviewed-on: https://gerrit.libreoffice.org/55490
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/56651
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/filter/excel')
-rw-r--r-- | sc/source/filter/excel/xeescher.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index df36ba79d252..20135b972a3d 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -1196,7 +1196,7 @@ XclExpNote::XclExpNote(const XclExpRoot& rRoot, const ScAddress& rScPos, // TODO: additional text if( pScNote ) { - if( SdrCaptionObj* pCaption = pScNote->GetOrCreateCaption( maScPos ) ) + if( SdrCaptionObj* pCaption = pScNote->GetOrCreateCaption( maScPos ).get() ) { lcl_GetFromTo( rRoot, pCaption->GetLogicRect(), maScPos.Tab(), maCommentFrom, maCommentTo ); if( const OutlinerParaObject* pOPO = pCaption->GetOutlinerParaObject() ) |