summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/table/tableproperties.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx
index 529e2b4b16f6..e71f05593767 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -295,7 +295,7 @@ void TableProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBa
if(bOwnTblStyle)
{
- TableStyle* pTableStyle = (TableStyle*)&rTableStyle;
+ TableStyle* pTableStyle = const_cast<TableStyle*>(&rTableStyle);
delete pTableStyle;
}
}