diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 09:59:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 10:48:31 +0000 |
commit | 5fb99f271a571301f8246addae89738016926d6d (patch) | |
tree | b44f864cce56009f48beff28463ae8debe28aca2 /include/filter/msfilter/msdffimp.hxx | |
parent | 0f4f5621d194c9221b55bb4a20a251a0bb497d69 (diff) |
new loplugin: useuniqueptr: filter
Change-Id: Ie5cee5d7dd067df121397b60a7adc85c62906e54
Reviewed-on: https://gerrit.libreoffice.org/33155
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter/msfilter/msdffimp.hxx')
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index ae17359f5517..7d56e6de0962 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -72,8 +72,8 @@ namespace com { namespace sun { namespace star { class MSFILTER_DLLPUBLIC DffPropertyReader : public DffPropSet { - const SvxMSDffManager& rManager; - DffPropSet* pDefaultPropSet; + const SvxMSDffManager& rManager; + std::unique_ptr<DffPropSet> pDefaultPropSet; void ApplyCustomShapeTextAttributes( SfxItemSet& rSet ) const; void CheckAndCorrectExcelTextRotation( SvStream& rIn, SfxItemSet& rSet, DffObjData& rObjData ) const; @@ -345,7 +345,8 @@ struct DffRecordList sal_uInt32 nCount; sal_uInt32 nCurrent; DffRecordList* pPrev; - DffRecordList* pNext; + std::unique_ptr<DffRecordList> + pNext; DffRecordHeader mHd[ DFF_RECORD_MANAGER_BUF_SIZE ]; |