summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-06-29 13:35:45 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-07-22 23:50:39 +0200
commit2d5a7c36ee9ae7ff39d8415f81fb911ff822548e (patch)
tree81a74142bf923e88e50c361d1632344aaf20fa45 /sw/source/ui/misc
parent299363bbbfdc43822ac43b9be0913c9c96f71d86 (diff)
sal_uInt16 to size_t
Change-Id: Ia36a8d833b697dad4f6bbc611b703efcda4b220c
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/glosbib.cxx4
-rw-r--r--sw/source/ui/misc/glossary.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index 8a6762f8c675..a62598835cbb 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -92,8 +92,8 @@ SwGlossaryGroupDlg::SwGlossaryGroupDlg(Window * pParent,
m_pPathLB->SelectEntryPos(0);
m_pPathLB->Enable(true);
- const sal_uInt16 nCount = pHdl->GetGroupCnt();
- for( sal_uInt16 i = 0; i < nCount; ++i)
+ const size_t nCount = pHdl->GetGroupCnt();
+ for( size_t i = 0; i < nCount; ++i)
{
OUString sTitle;
OUString sGroup = pHdl->GetGroupName(i, &sTitle);
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index db58cafe8834..9b39b1a1f0ef 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -660,14 +660,14 @@ void SwGlossaryDlg::Init()
m_pCategoryBox->SetUpdateMode( false );
m_pCategoryBox->Clear();
// display text block regions
- const sal_uInt16 nCnt = pGlossaryHdl->GetGroupCnt();
+ const size_t nCnt = pGlossaryHdl->GetGroupCnt();
SvTreeListEntry* pSelEntry = 0;
const OUString sSelStr(::GetCurrGlosGroup().getToken(0, GLOS_DELIM));
const sal_Int32 nSelPath = ::GetCurrGlosGroup().getToken(1, GLOS_DELIM).toInt32();
// #i66304# - "My AutoText" comes from mytexts.bau, but should be translated
const OUString sMyAutoTextEnglish("My AutoText");
const OUString sMyAutoTextTranslated(SW_RES(STR_MY_AUTOTEXT));
- for(sal_uInt16 nId = 0; nId < nCnt; ++nId )
+ for(size_t nId = 0; nId < nCnt; ++nId )
{
OUString sTitle;
OUString sGroupName(pGlossaryHdl->GetGroupName(nId, &sTitle));