diff options
Diffstat (limited to 'xmloff/source/text/txtexppr.cxx')
-rw-r--r-- | xmloff/source/text/txtexppr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx index dbe9f0c2825f..8709afba5b3f 100644 --- a/xmloff/source/text/txtexppr.cxx +++ b/xmloff/source/text/txtexppr.cxx @@ -49,7 +49,7 @@ void XMLTextExportPropertySetMapper::handleElementItem( sal_uInt32 nIdx ) const { XMLTextExportPropertySetMapper *pThis = - ((XMLTextExportPropertySetMapper *)this); + const_cast<XMLTextExportPropertySetMapper*>(this); switch( getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex ) ) { @@ -133,7 +133,7 @@ void XMLTextExportPropertySetMapper::handleSpecialItem( sal_uInt32 nIdx ) const { XMLTextExportPropertySetMapper *pThis = - ((XMLTextExportPropertySetMapper *)this); + const_cast<XMLTextExportPropertySetMapper*>(this); switch( getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex ) ) { |