diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:29:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:33 +0100 |
commit | bb1c25c87f37e1190534a0c58085472288c51670 (patch) | |
tree | c1ffacaec9dcbf65719e0b96b648d4d56cea3f8d /oox/source/drawingml | |
parent | 3205a2ebb64be4be4154d6d613dbfbf6739eb324 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Ib1c4fd60ba029704112dd9e279e4dd4c6bb7416c
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r-- | oox/source/drawingml/table/tableproperties.cxx | 2 |
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; } } |