tdf#89329: use unique_ptr for pImpl in configvaluecontainer
Change-Id: Ide38cacc59a44515287d51dadb23836eaac14518 Reviewed-on: https://gerrit.libreoffice.org/25904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
committed by
Noel Grandin
parent
c9ff3efd2c
commit
a4a97fb56c
@@ -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,
|
||||
|
Reference in New Issue
Block a user