tdf#89329: use unique_ptr for pImpl in sdbcdriverenum

Change-Id: Ie0bdc9693d2bade872ee3ac8d4cf6fd5c469493d
Reviewed-on: https://gerrit.libreoffice.org/27891
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
diff --git a/cui/source/options/sdbcdriverenum.cxx b/cui/source/options/sdbcdriverenum.cxx
index ba0ade2..6bf3254 100644
--- a/cui/source/options/sdbcdriverenum.cxx
+++ b/cui/source/options/sdbcdriverenum.cxx
@@ -79,7 +79,6 @@ namespace offapp

    ODriverEnumeration::~ODriverEnumeration() throw()
    {
        delete m_pImpl;
    }


diff --git a/cui/source/options/sdbcdriverenum.hxx b/cui/source/options/sdbcdriverenum.hxx
index 5d75b2a..80f0b32 100644
--- a/cui/source/options/sdbcdriverenum.hxx
+++ b/cui/source/options/sdbcdriverenum.hxx
@@ -25,6 +25,7 @@
#include <rtl/ustring.hxx>

#include <vector>
#include <memory>


namespace offapp
@@ -39,7 +40,7 @@ namespace offapp
    class ODriverEnumeration
    {
    private:
        ODriverEnumerationImpl* m_pImpl;
        std::unique_ptr<ODriverEnumerationImpl> m_pImpl;

    public:
        ODriverEnumeration() throw();