writerfilter: use std::unique_ptr<> in TblStylePrHandler
Change-Id: Ia98b351a3ef14826ab638382fa312734edeb751d
This commit is contained in:
@@ -39,7 +39,6 @@ m_pProperties( new PropertyMap )
|
||||
|
||||
TblStylePrHandler::~TblStylePrHandler( )
|
||||
{
|
||||
delete m_pTablePropsHandler, m_pTablePropsHandler = nullptr;
|
||||
}
|
||||
|
||||
OUString TblStylePrHandler::getTypeString()
|
||||
|
@@ -54,7 +54,7 @@ class TblStylePrHandler : public LoggedProperties
|
||||
{
|
||||
private:
|
||||
DomainMapper & m_rDMapper;
|
||||
TablePropertiesHandler * m_pTablePropsHandler;
|
||||
std::unique_ptr<TablePropertiesHandler> m_pTablePropsHandler;
|
||||
|
||||
TblStyleType m_nType;
|
||||
PropertyMapPtr m_pProperties;
|
||||
|
Reference in New Issue
Block a user