Kaydet (Commit) a4a97fb5 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Noel Grandin

tdf#89329: use unique_ptr for pImpl in configvaluecontainer

Change-Id: Ide38cacc59a44515287d51dadb23836eaac14518
Reviewed-on: https://gerrit.libreoffice.org/25904Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst c9ff3efd
......@@ -23,6 +23,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <osl/mutex.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
enum class CVCFlags
......@@ -65,8 +66,7 @@ namespace utl
class UNOTOOLS_DLLPUBLIC OConfigurationValueContainer
{
private:
OConfigurationValueContainerImpl*
m_pImpl;
std::unique_ptr<OConfigurationValueContainerImpl> m_pImpl;
protected:
......
......@@ -220,7 +220,6 @@ namespace utl
OConfigurationValueContainer::~OConfigurationValueContainer()
{
delete m_pImpl;
}
void OConfigurationValueContainer::implConstruct( const OUString& _rConfigLocation,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment