diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-22 18:42:17 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-24 23:22:09 +0100 |
commit | 5b592e25e7dddb8cc8c132882964b43e10cc155f (patch) | |
tree | ec0c3433dbee659d440e01cc7169e444d4a62f34 | |
parent | 009799fda59e6320d9e8c5b9381232bc2e3dc2b4 (diff) |
sal_uInt16 to sal_uLong and remove unneeded cast
Change-Id: I45152c575720e0720139d8a6d973333b105e1fa5
-rw-r--r-- | sw/source/ui/misc/glosbib.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index bcbb0298e2ad..b9d5beeeee19 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -104,7 +104,7 @@ SwGlossaryGroupDlg::SwGlossaryGroupDlg(Window * pParent, pData->sGroupTitle = sTitle; OUString sTemp(sTitle); sTemp += "\t"; - pData->sPath = m_pPathLB->GetEntry((sal_uInt16)sGroup.getToken(1, GLOS_DELIM).toInt32()); + pData->sPath = m_pPathLB->GetEntry(sGroup.getToken(1, GLOS_DELIM).toInt32()); sTemp += pData->sPath; SvTreeListEntry* pEntry = m_pGroupTLB->InsertEntry(sTemp); pEntry->SetUserData(pData); @@ -346,7 +346,7 @@ IMPL_LINK_NOARG(SwGlossaryGroupDlg, ModifyHdl) if( 0xffffffff == nPos) { const ::utl::TransliterationWrapper& rSCmp = GetAppCmpStrIgnore(); - for(sal_uInt16 i = 0; i < m_pGroupTLB->GetEntryCount(); i++) + for(sal_uLong i = 0; i < m_pGroupTLB->GetEntryCount(); i++) { OUString sTemp = m_pGroupTLB->GetEntryText( i, 0 ); nCaseReadonly = (sal_uLong)m_pPathLB->GetEntryData( |