summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:29:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:33 +0100
commitbb1c25c87f37e1190534a0c58085472288c51670 (patch)
treec1ffacaec9dcbf65719e0b96b648d4d56cea3f8d /oox
parent3205a2ebb64be4be4154d6d613dbfbf6739eb324 (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Ib1c4fd60ba029704112dd9e279e4dd4c6bb7416c
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;
}
}