diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:59 +0200 |
commit | 6485183373a5b42c1741a9a51ac9d318b895c6dd (patch) | |
tree | 3575a37fa582532ac48db387189da7e6467965a5 /xmlscript/source | |
parent | c0755c8ee064bc1b4868de560232b3d604b2156b (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I8af2e7c7bb5e750c13dd9f7ef1fd3033ec9cdf9c
Diffstat (limited to 'xmlscript/source')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |