diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-30 23:08:29 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-12 14:18:50 +0200 |
commit | c5909e251871e5a38992fade94a489a9546e11b7 (patch) | |
tree | 7ef9bd642fb4799fb2a8d6d3529144c95a468dde /starmath | |
parent | e76d07c6185512e47947dbe1b6a83fb944b8198f (diff) |
Update many ListBox users to its sal_Int32 interface
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/dialog.cxx | 2 | ||||
-rw-r--r-- | starmath/source/utility.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index f43e831566e0..08ea8a4ea2f3 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -2346,7 +2346,7 @@ void SmSymDefineDialog::SetFont(const OUString &rFontName, const OUString &rStyl const Subset* pSubset; while( NULL != (pSubset = pSubsetMap->GetNextSubset( bFirst )) ) { - sal_uInt16 nPos = pFontsSubsetLB->InsertEntry( pSubset->GetName()); + const sal_Int32 nPos = pFontsSubsetLB->InsertEntry( pSubset->GetName()); pFontsSubsetLB->SetEntryData( nPos, const_cast<Subset *>(pSubset) ); // subset must live at least as long as the selected font !!! if( bFirst ) diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx index abd2e5e8480f..f575600e8fd2 100644 --- a/starmath/source/utility.cxx +++ b/starmath/source/utility.cxx @@ -159,10 +159,9 @@ SmFontPickListBox::SmFontPickListBox (vcl::Window* pParent, WinBits nBits) : IMPL_LINK( SmFontPickListBox, SelectHdl, ListBox *, /*pListBox*/ ) { - sal_uInt16 nPos; OUString aString; - nPos = GetSelectEntryPos(); + const sal_Int32 nPos = GetSelectEntryPos(); if (nPos != 0) { |