diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-30 23:35:07 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-03-30 23:54:46 +0200 |
commit | 4e9565b24b3a1d393cc7093b363709c233de9d43 (patch) | |
tree | 3a2a565bc78a9f39a1d4a1d63310398e03c70c0c /sw | |
parent | fa8f89cf46da59c4362537103f4cae39c7e4362d (diff) |
sal_uInt16 to sal_Int32
Change-Id: I7c658f74c70daeece6343e69bd89313d22620a60
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/envelp/labelexp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/labelexp.cxx b/sw/source/ui/envelp/labelexp.cxx index 669d5135c534..649323cd6372 100644 --- a/sw/source/ui/envelp/labelexp.cxx +++ b/sw/source/ui/envelp/labelexp.cxx @@ -52,7 +52,7 @@ void SwVisitingCardPage::InitFrameControl() uno::Sequence<OUString> aNames = m_xAutoText->getElementNames(); const OUString* pGroups = aNames.getConstArray(); - for(sal_uInt16 i = 0; i < aNames.getLength(); i++) + for(sal_Int32 i = 0; i < aNames.getLength(); ++i) { uno::Any aGroup = m_xAutoText->getByName(pGroups[i]); uno::Reference< text::XAutoTextGroup > xGroup; @@ -66,7 +66,7 @@ void SwVisitingCardPage::InitFrameControl() uno::Any aTitle = xPrSet->getPropertyValue( UNO_NAME_TITLE ); OUString uTitle; aTitle >>= uTitle; - sal_uInt16 nEntry = m_pAutoTextGroupLB->InsertEntry(uTitle); + const sal_Int32 nEntry = m_pAutoTextGroupLB->InsertEntry(uTitle); m_pAutoTextGroupLB->SetEntryData(nEntry, new OUString(pGroups[i])); } } |