summaryrefslogtreecommitdiff
path: root/include/vbahelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 09:02:55 +0200
committerNoel Grandin <noel@peralex.com>2015-11-17 10:59:47 +0200
commitdfb3be7e15bf5a02a6c35a3b6f84aceb6214ce55 (patch)
treeaf7aa947a025ee08eeee4db41858dfa6550f58d9 /include/vbahelper
parentb4bd157d0fffcd83e7461de35ee9105b53d21314 (diff)
use unique_ptr for pImpl in vcl,vbahelper,uui
Change-Id: Icb7573c24c681a8fc0570d61b6a30dab91378eb8
Diffstat (limited to 'include/vbahelper')
-rw-r--r--include/vbahelper/vbaapplicationbase.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vbahelper/vbaapplicationbase.hxx b/include/vbahelper/vbaapplicationbase.hxx
index 7f46069f4b5e..5d809b8a8fe9 100644
--- a/include/vbahelper/vbaapplicationbase.hxx
+++ b/include/vbahelper/vbaapplicationbase.hxx
@@ -23,6 +23,7 @@
#include <ooo/vba/XApplicationBase.hpp>
#include <vbahelper/vbahelperinterface.hxx>
#include <sfx2/objsh.hxx>
+#include <memory>
typedef InheritedHelperInterfaceWeakImpl< ov::XApplicationBase > ApplicationBase_BASE;
@@ -30,7 +31,7 @@ struct VbaApplicationBase_Impl;
class VBAHELPER_DLLPUBLIC VbaApplicationBase : public ApplicationBase_BASE
{
- VbaApplicationBase_Impl* m_pImpl;
+ std::unique_ptr<VbaApplicationBase_Impl> m_pImpl;
protected:
VbaApplicationBase( const css::uno::Reference< css::uno::XComponentContext >& xContext );