summaryrefslogtreecommitdiff
path: root/include/filter/msfilter/msdffimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/filter/msfilter/msdffimp.hxx')
-rw-r--r--include/filter/msfilter/msdffimp.hxx7
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 ];