summaryrefslogtreecommitdiff
path: root/cui/source/customize
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:13:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:13:25 +0200
commita5a1cf96afec1803dbe41469ab8dc93292337c70 (patch)
treeb9b8d4e7cd1a56e467e5ab984a5602544a987f4f /cui/source/customize
parentcaaf1436d7720ae1b367e645fba70165196744e7 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I8b57f50a10760ebd2307640e8d9f9108292e485d
Diffstat (limited to 'cui/source/customize')
-rw-r--r--cui/source/customize/cfg.cxx2
-rw-r--r--cui/source/customize/cfgutil.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 19831a59a029..2429961f12f9 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -4933,7 +4933,7 @@ uno::Reference< graphic::XGraphic> SvxIconSelectorDialog::GetSelectedIcon()
if ( pTbSymbol->IsItemChecked( nId ) )
{
result = uno::Reference< graphic::XGraphic >(
- reinterpret_cast< graphic::XGraphic* >(
+ static_cast< graphic::XGraphic* >(
pTbSymbol->GetItemData( nId ) ) );
}
}
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() )