writerfilter: use std::unique_ptr<> in TblStylePrHandler

Change-Id: Ia98b351a3ef14826ab638382fa312734edeb751d
This commit is contained in:
Miklos Vajna
2015-07-31 09:01:17 +02:00
parent 2d9db406d3
commit b697b1b68e
2 changed files with 1 additions and 2 deletions

View File

@@ -39,7 +39,6 @@ m_pProperties( new PropertyMap )
TblStylePrHandler::~TblStylePrHandler( )
{
delete m_pTablePropsHandler, m_pTablePropsHandler = nullptr;
}
OUString TblStylePrHandler::getTypeString()

View File

@@ -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;