diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.cxx | 1 | ||||
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.hxx | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index 616a72decdde..6ede832f8e25 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -219,7 +219,6 @@ namespace abp } ODataSourceContext::~ODataSourceContext() { - delete(m_pImpl); } diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx index 87d3588134ff..4b0bc51e252c 100644 --- a/extensions/source/abpilot/datasourcehandling.hxx +++ b/extensions/source/abpilot/datasourcehandling.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/XComponentContext.hpp> +#include <memory> #include "abptypes.hxx" @@ -45,7 +46,7 @@ namespace abp class ODataSourceContext { private: - ODataSourceContextImpl* m_pImpl; + std::unique_ptr<ODataSourceContextImpl> m_pImpl; public: explicit ODataSourceContext( |