Kaydet (Commit) bb1c25c8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

const_cast: convert some C-style casts and remove some redundant ones

Change-Id: Ib1c4fd60ba029704112dd9e279e4dd4c6bb7416c
üst 3205a2eb
...@@ -295,7 +295,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa ...@@ -295,7 +295,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa
if(bOwnTblStyle) if(bOwnTblStyle)
{ {
TableStyle* pTableStyle = (TableStyle*)&rTableStyle; TableStyle* pTableStyle = const_cast<TableStyle*>(&rTableStyle);
delete pTableStyle; delete pTableStyle;
} }
} }
......
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