summaryrefslogtreecommitdiffstats
path: root/include/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 15:18:00 +0200
committerNoel Grandin <noel@peralex.com>2015-11-18 08:35:34 +0200
commit9c205723fcc0a2087ff7bf1e86f4f07b62564d5d (patch)
treed45307f20c1c4e3c6be023fd8dd27cd91e2a948a /include/sax
parentuse unique_ptr for pImpl in sc/ (diff)
downloadcore-9c205723fcc0a2087ff7bf1e86f4f07b62564d5d.tar.gz
core-9c205723fcc0a2087ff7bf1e86f4f07b62564d5d.zip
use unique_ptr for pImpl in sax/
Change-Id: I0bef03451437cbdc5b0fed6b67690ac1d547291d
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fastparser.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sax/fastparser.hxx b/include/sax/fastparser.hxx
index 9d156b1b0c5c..d73091739dd4 100644
--- a/include/sax/fastparser.hxx
+++ b/include/sax/fastparser.hxx
@@ -25,6 +25,7 @@
#include <cppuhelper/implbase2.hxx>
#include <sax/fastsaxdllapi.h>
+#include <memory>
namespace com { namespace sun { namespace star { namespace xml { namespace sax {
@@ -46,7 +47,7 @@ class FASTSAX_DLLPUBLIC FastSaxParser
css::xml::sax::XFastParser,
css::lang::XServiceInfo >
{
- FastSaxParserImpl* mpImpl;
+ std::unique_ptr<FastSaxParserImpl> mpImpl;
public:
FastSaxParser();