summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-01 01:27:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-02 06:36:30 +0000
commitc37ce6c3c5c336290186f8d78ae00064064d7b8c (patch)
tree50b30033c70d86a4fd477bfa47ef536f75686c1d /include/comphelper
parente0f60043cc6013eabd22dc73f7371a4f19f54625 (diff)
tdf#89329: use unique_ptr for pImpl in propertysethelper
Change-Id: I5891fe7c298b4b3409ac6579ed167a4e0183c89a Reviewed-on: https://gerrit.libreoffice.org/25748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/propertysethelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/comphelper/propertysethelper.hxx b/include/comphelper/propertysethelper.hxx
index c58d88ba3b98..87a2c24eecef 100644
--- a/include/comphelper/propertysethelper.hxx
+++ b/include/comphelper/propertysethelper.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <comphelper/comphelperdllapi.h>
+#include <memory>
namespace comphelper
{
@@ -36,7 +37,7 @@ class COMPHELPER_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet,
public css::beans::XMultiPropertySet
{
private:
- PropertySetHelperImpl* mp;
+ std::unique_ptr<PropertySetHelperImpl> mpImpl;
protected:
virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) = 0;