summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-12 15:32:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 08:45:17 +0200
commit5e7583fe864c4491c5a19d2896b6555448146ad8 (patch)
treed7b34190055d5d2348346cdeaf139f5318ba5e78 /include
parent4582acb3eeb2af0411ab8598ec17d74381225acf (diff)
loplugin:useuniqueptr
ignore SAL_LOG type stuff in the destructor Change-Id: If014382ca0c96edd3f2b325a28451d83b3d1f278 Reviewed-on: https://gerrit.libreoffice.org/37539 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/sfxhtml.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/sfxhtml.hxx b/include/sfx2/sfxhtml.hxx
index 90031e4471cf..2796c950cad4 100644
--- a/include/sfx2/sfxhtml.hxx
+++ b/include/sfx2/sfxhtml.hxx
@@ -26,6 +26,7 @@
#include <i18nlangtag/lang.h>
#include <svtools/parhtml.hxx>
#include <svl/macitem.hxx>
+#include <memory>
class ImageMap;
@@ -37,7 +38,7 @@ class SFX2_DLLPUBLIC SfxHTMLParser : public HTMLParser
OUString aScriptType;
SfxMedium* pMedium;
- SfxMedium *pDLMedium; // Medium for Download Files
+ std::unique_ptr<SfxMedium> pDLMedium; // Medium for Download Files
ScriptType eScriptType;