writerfilter: use std::unique_ptr<> in SettingsTable
Change-Id: I0202b18301b4b4a7c82c840df1397a5cbdd695b1
This commit is contained in:
@@ -131,7 +131,6 @@ SettingsTable::SettingsTable(DomainMapper& rDMapper, const uno::Reference< lang:
|
||||
|
||||
SettingsTable::~SettingsTable()
|
||||
{
|
||||
delete m_pImpl;
|
||||
}
|
||||
|
||||
void SettingsTable::lcl_attribute(Id nName, Value & val)
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
#include <com/sun/star/text/XTextDocument.hpp>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
namespace com{ namespace sun{ namespace star{
|
||||
namespace lang{
|
||||
@@ -41,7 +42,7 @@ struct SettingsTable_Impl;
|
||||
|
||||
class SettingsTable : public LoggedProperties, public LoggedTable
|
||||
{
|
||||
SettingsTable_Impl *m_pImpl;
|
||||
std::unique_ptr<SettingsTable_Impl> m_pImpl;
|
||||
|
||||
public:
|
||||
SettingsTable(DomainMapper& rDMapper, const css::uno::Reference<css::lang::XMultiServiceFactory>& xTextFactory);
|
||||
|
Reference in New Issue
Block a user