diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 09:02:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-17 10:59:47 +0200 |
commit | dfb3be7e15bf5a02a6c35a3b6f84aceb6214ce55 (patch) | |
tree | af7aa947a025ee08eeee4db41858dfa6550f58d9 /uui/source | |
parent | b4bd157d0fffcd83e7461de35ee9105b53d21314 (diff) |
use unique_ptr for pImpl in vcl,vbahelper,uui
Change-Id: Icb7573c24c681a8fc0570d61b6a30dab91378eb8
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/requeststringresolver.cxx | 1 | ||||
-rw-r--r-- | uui/source/requeststringresolver.hxx | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/requeststringresolver.cxx b/uui/source/requeststringresolver.cxx index daf33164b667..d2ed7dc9b7c9 100644 --- a/uui/source/requeststringresolver.cxx +++ b/uui/source/requeststringresolver.cxx @@ -33,7 +33,6 @@ UUIInteractionRequestStringResolver::UUIInteractionRequestStringResolver( UUIInteractionRequestStringResolver::~UUIInteractionRequestStringResolver() { - delete m_pImpl; } OUString SAL_CALL diff --git a/uui/source/requeststringresolver.hxx b/uui/source/requeststringresolver.hxx index f15b292ef874..8d7c21e12a2a 100644 --- a/uui/source/requeststringresolver.hxx +++ b/uui/source/requeststringresolver.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/task/XInteractionRequestStringResolver.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> +#include <memory> class UUIInteractionHelper; @@ -47,7 +48,7 @@ public: rServiceFactory); private: - UUIInteractionHelper * m_pImpl; + std::unique_ptr<UUIInteractionHelper> m_pImpl; UUIInteractionRequestStringResolver(UUIInteractionRequestStringResolver &) = delete; void operator =(UUIInteractionRequestStringResolver&) = delete; |