diff options
Diffstat (limited to 'connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx')
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx index 505a23b1e376..a243ecca59aa 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx @@ -48,8 +48,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL OMozillaBootstrap_CreateInstance } MozillaBootstrap::MozillaBootstrap() - : OMozillaBootstrap_BASE(m_aMutex), - m_ProfileAccess(nullptr) + : OMozillaBootstrap_BASE(m_aMutex) { } @@ -59,11 +58,10 @@ MozillaBootstrap::~MozillaBootstrap() void MozillaBootstrap::Init() { - m_ProfileAccess = new ProfileAccess(); + m_ProfileAccess.reset(new ProfileAccess); bootupProfile(css::mozilla::MozillaProductType_Mozilla,OUString()); } - void MozillaBootstrap::disposing() { ::osl::MutexGuard aGuard(m_aMutex); |