summaryrefslogtreecommitdiff
path: root/include/ucbhelper/resultsetmetadata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/ucbhelper/resultsetmetadata.hxx')
-rw-r--r--include/ucbhelper/resultsetmetadata.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ucbhelper/resultsetmetadata.hxx b/include/ucbhelper/resultsetmetadata.hxx
index 730bdf1a5ab9..cda709eb045e 100644
--- a/include/ucbhelper/resultsetmetadata.hxx
+++ b/include/ucbhelper/resultsetmetadata.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_UCBHELPER_RESULTSETMETADATA_HXX
#include <vector>
+#include <memory>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/lang/XTypeProvider.hpp>
@@ -141,7 +142,7 @@ class UCBHELPER_DLLPUBLIC ResultSetMetaData :
public css::sdbc::XResultSetMetaData
{
private:
- ucbhelper_impl::ResultSetMetaData_Impl* m_pImpl;
+ std::unique_ptr<ucbhelper_impl::ResultSetMetaData_Impl> m_pImpl;
protected:
css::uno::Reference< css::uno::XComponentContext > m_xContext;