summaryrefslogtreecommitdiff
path: root/svx/source/dialog/docrecovery.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:07:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:27 +0100
commit85f28ec44a2c169c91dac9346e9c71feda6a6cab (patch)
tree59313be197397c62a2b8f8b8829a65023a20f17e /svx/source/dialog/docrecovery.cxx
parent8c8d955998a64c8de7fb7dc81035b8889fdfe2e2 (diff)
Clean up C-style casts from pointers to void
Change-Id: I5f4029fc583952ae6392dbf2d478155982ccecef
Diffstat (limited to 'svx/source/dialog/docrecovery.cxx')
-rw-r--r--svx/source/dialog/docrecovery.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index f7c8075ff0f4..ec5941f234f4 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -744,7 +744,7 @@ void RecovDocListEntry::Paint(
const OUString* pTxt = 0;
RecovDocList* pList = static_cast< RecovDocList* >(&aDevice);
- TURLInfo* pInfo = (TURLInfo*)pEntry->GetUserData();
+ TURLInfo* pInfo = static_cast<TURLInfo*>(pEntry->GetUserData());
switch(pInfo->RecoveryState)
{
case E_SUCCESSFULLY_RECOVERED :
@@ -1088,7 +1088,7 @@ void RecoveryDialog::updateItems()
if ( !pEntry )
continue;
- TURLInfo* pInfo = (TURLInfo*)pEntry->GetUserData();
+ TURLInfo* pInfo = static_cast<TURLInfo*>(pEntry->GetUserData());
if ( !pInfo )
continue;
@@ -1112,7 +1112,7 @@ void RecoveryDialog::stepNext(TURLInfo* pItem)
if (!pEntry)
continue;
- TURLInfo* pInfo = (TURLInfo*)pEntry->GetUserData();
+ TURLInfo* pInfo = static_cast<TURLInfo*>(pEntry->GetUserData());
if (pInfo->ID != pItem->ID)
continue;