summaryrefslogtreecommitdiff
path: root/cui/source/customize/eventdlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:00:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:19 +0100
commit170012948c063521499ab685906354f184ac33be (patch)
treea13e756e8e85b0fb2b8795f5d0f60bed98836b22 /cui/source/customize/eventdlg.cxx
parente97b3272668ecbe5454ffc7f394680dbcae27395 (diff)
Clean up C-style casts from pointers to void
Change-Id: I544fc582d375d1e49f84309e722f669d734cf029
Diffstat (limited to 'cui/source/customize/eventdlg.cxx')
-rw-r--r--cui/source/customize/eventdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx
index bee41ccf336d..eb474ff4a58a 100644
--- a/cui/source/customize/eventdlg.cxx
+++ b/cui/source/customize/eventdlg.cxx
@@ -108,7 +108,7 @@ SvxEventConfigPage::~SvxEventConfigPage()
SvTreeListEntry* pE = rListBox.GetEntry( 0 );
while( pE )
{
- OUString* pEventName = (OUString*)pE->GetUserData();
+ OUString const * pEventName = static_cast<OUString const *>(pE->GetUserData());
delete pEventName;
pE->SetUserData((void*)0);
pE = rListBox.NextSibling( pE );
@@ -165,8 +165,8 @@ IMPL_LINK( SvxEventConfigPage, SelectHdl_Impl, ListBox *, pBox )
{
(void)pBox;
- bool* bApp = (bool*) m_pSaveInListBox->GetEntryData(
- m_pSaveInListBox->GetSelectEntryPos());
+ bool* bApp = static_cast<bool*>(m_pSaveInListBox->GetEntryData(
+ m_pSaveInListBox->GetSelectEntryPos()));
mpImpl->pEventLB->SetUpdateMode( false );
bAppConfig = *bApp;