diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:00:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:19 +0100 |
commit | 170012948c063521499ab685906354f184ac33be (patch) | |
tree | a13e756e8e85b0fb2b8795f5d0f60bed98836b22 /cui/source/customize/eventdlg.cxx | |
parent | e97b3272668ecbe5454ffc7f394680dbcae27395 (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.cxx | 6 |
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; |