summaryrefslogtreecommitdiff
path: root/include/filter/msfilter/msdffimp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-28 15:35:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-05 07:28:43 +0100
commitcab19696ce0a441e83ff1012de014265a6d4c471 (patch)
treec8d59e597601fde2d097318a22959bc633d6f227 /include/filter/msfilter/msdffimp.hxx
parente7fe6de011c34223352ad6b60d47a442b44ac5c9 (diff)
loplugin:useuniqueptr in SvxMSDffManager
Change-Id: I2e3ef185d370ccacc0d1e99b5f9e732a829fdc55 Reviewed-on: https://gerrit.libreoffice.org/50693 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter/msfilter/msdffimp.hxx')
-rw-r--r--include/filter/msfilter/msdffimp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx
index 0600f7dbdfde..aafb47b3bc88 100644
--- a/include/filter/msfilter/msdffimp.hxx
+++ b/include/filter/msfilter/msdffimp.hxx
@@ -397,7 +397,7 @@ public:
*/
class MSFILTER_DLLPUBLIC SvxMSDffManager : public DffPropertyReader
{
- SvxMSDffBLIPInfos* m_pBLIPInfos;
+ std::unique_ptr<SvxMSDffBLIPInfos> m_pBLIPInfos;
std::unique_ptr<SvxMSDffShapeInfos_ByTxBxComp> m_xShapeInfosByTxBxComp;
std::unique_ptr<SvxMSDffShapeInfos_ById> m_xShapeInfosById;
SvxMSDffShapeOrders m_aShapeOrders;
@@ -528,7 +528,7 @@ protected:
virtual bool ShapeHasText(sal_uLong nShapeId, sal_uLong nFilePos) const;
public:
- DffPropertyReader* pSecPropSet;
+ std::unique_ptr<DffPropertyReader> pSecPropSet;
std::map<sal_uInt32,OString> aEscherBlipCache;
DffRecordManager maShapeRecords;