diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-03 10:43:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-03 10:43:53 +0200 |
commit | 0e2927ed2cffdc718085cadce3cc41e34cd6a04f (patch) | |
tree | fde369e43a16f06aac84e8b48f727f3e7a74b0fe /sw/source/ui/misc/glosbib.cxx | |
parent | 0b30d5344cad60967aa79bad86916debbf4371e9 (diff) |
loplugin: cstylecast
Change-Id: Ic48a59c209e77382a0e431a5502c24a62407334b
Diffstat (limited to 'sw/source/ui/misc/glosbib.cxx')
-rw-r--r-- | sw/source/ui/misc/glosbib.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index 9aab2ff9e24d..6f93bc1e30ae 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -87,7 +87,7 @@ SwGlossaryGroupDlg::SwGlossaryGroupDlg(vcl::Window * pParent, nCaseReadonly |= PATH_READONLY; else if( SWUnoHelper::UCB_IsCaseSensitiveFileName( aTempFile.GetURL())) nCaseReadonly |= PATH_CASE_SENSITIVE; - m_pPathLB->SetEntryData(i, (void*)nCaseReadonly); + m_pPathLB->SetEntryData(i, reinterpret_cast<void*>(nCaseReadonly)); } m_pPathLB->SelectEntryPos(0); m_pPathLB->Enable(true); @@ -318,7 +318,7 @@ IMPL_LINK_NOARG(SwGlossaryGroupDlg, ModifyHdl) bool bEnableNew = true; bool bEnableDel = false; sal_uLong nCaseReadonly = - (sal_uLong)m_pPathLB->GetEntryData(m_pPathLB->GetSelectEntryPos()); + reinterpret_cast<sal_uLong>(m_pPathLB->GetEntryData(m_pPathLB->GetSelectEntryPos())); bool bDirReadonly = 0 != (nCaseReadonly&PATH_READONLY); if(sEntry.isEmpty() || bDirReadonly) @@ -333,8 +333,8 @@ IMPL_LINK_NOARG(SwGlossaryGroupDlg, ModifyHdl) for(sal_uLong i = 0; i < m_pGroupTLB->GetEntryCount(); i++) { OUString sTemp = m_pGroupTLB->GetEntryText( i, 0 ); - nCaseReadonly = (sal_uLong)m_pPathLB->GetEntryData( - m_pPathLB->GetEntryPos(m_pGroupTLB->GetEntryText(i,1))); + nCaseReadonly = reinterpret_cast<sal_uLong>(m_pPathLB->GetEntryData( + m_pPathLB->GetEntryPos(m_pGroupTLB->GetEntryText(i,1)))); bool bCase = 0 != (nCaseReadonly & PATH_CASE_SENSITIVE); if( !bCase && rSCmp.isEqual( sTemp, sEntry )) |