diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 15:31:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-14 15:31:10 +0200 |
commit | 734e4dc9f2676f59ed264abd16aae9afdef5ed84 (patch) | |
tree | 52bb25d27166c3c2fd6358ecfe2808d6b78cafcf /cui | |
parent | acf245c0e83c1039becc84cb59e534bdb78d98d6 (diff) |
loplugin:cstylecast
Change-Id: I3607afd9f553b9b3246dd67aca93e932625861a7
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index b74c37eade77..3a82df411291 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -732,7 +732,7 @@ IMPL_LINK_NOARG(OfaSwAutoFmtOptionsPage, EditHdl) nSelEntryPos == APPLY_NUMBERING) { ScopedVclPtrInstance< SvxCharacterMap > pMapDlg(this); - ImpUserData* pUserData = (ImpUserData*)m_pCheckLB->FirstSelected()->GetUserData(); + ImpUserData* pUserData = static_cast<ImpUserData*>(m_pCheckLB->FirstSelected()->GetUserData()); pMapDlg->SetCharFont(*pUserData->pFont); pMapDlg->SetChar( (*pUserData->pString)[0] ); if(RET_OK == pMapDlg->Execute()) |