diff options
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) { |