diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:13:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:13:25 +0200 |
commit | a5a1cf96afec1803dbe41469ab8dc93292337c70 (patch) | |
tree | b9b8d4e7cd1a56e467e5ab984a5602544a987f4f /cui/source/customize/cfgutil.cxx | |
parent | caaf1436d7720ae1b367e645fba70165196744e7 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I8b57f50a10760ebd2307640e8d9f9108292e485d
Diffstat (limited to 'cui/source/customize/cfgutil.cxx')
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index 9dc928527999..53c954415098 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -878,7 +878,7 @@ void SfxConfigGroupListBox::GroupSelected() if ( !GetChildCount( pEntry ) ) { Reference< browse::XBrowseNode > rootNode( - reinterpret_cast< browse::XBrowseNode* >( pInfo->pObject ) ) ; + static_cast< browse::XBrowseNode* >( pInfo->pObject ) ) ; try { if ( rootNode->hasChildNodes() ) @@ -1006,7 +1006,7 @@ void SfxConfigGroupListBox::RequestingChildren( SvTreeListEntry *pEntry ) if ( !GetChildCount( pEntry ) ) { Reference< browse::XBrowseNode > rootNode( - reinterpret_cast< browse::XBrowseNode* >( pInfo->pObject ) ) ; + static_cast< browse::XBrowseNode* >( pInfo->pObject ) ) ; try { if ( rootNode->hasChildNodes() ) |