From 6485183373a5b42c1741a9a51ac9d318b895c6dd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:17:59 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I8af2e7c7bb5e750c13dd9f7ef1fd3033ec9cdf9c --- xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlscript') diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index 5bb12a3e917a..5763d710f770 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx @@ -1066,7 +1066,7 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible addAttribute( XMLNS_DIALOGS_PREFIX ":control-implementation", sCtrlName ); } } - addAttribute( XMLNS_DIALOGS_PREFIX ":id", * reinterpret_cast< const OUString * >( a.getValue() ) ); + addAttribute( XMLNS_DIALOGS_PREFIX ":id", * static_cast< const OUString * >( a.getValue() ) ); readShortAttr( "TabIndex", XMLNS_DIALOGS_PREFIX ":tab-index" ); bool bEnabled = false; -- cgit v1.2.3