summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx2
-rw-r--r--starmath/source/utility.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 3c352bb901db..7fc552c9f8a2 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1785,7 +1785,7 @@ IMPL_LINK( SmSymDefineDialog, FontChangeHdl, ListBox&, rListBox, void )
IMPL_LINK_NOARG( SmSymDefineDialog, SubsetChangeHdl, ListBox&, void )
{
- sal_Int32 nPos = pFontsSubsetLB->GetSelectEntryPos();
+ sal_Int32 nPos = pFontsSubsetLB->GetSelectedEntryPos();
if (LISTBOX_ENTRY_NOTFOUND != nPos)
{
const Subset* pSubset = static_cast<const Subset*> (pFontsSubsetLB->GetEntryData( nPos ));
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 87cf3e1cdc79..fdcb438fb952 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -133,7 +133,7 @@ IMPL_LINK_NOARG( SmFontPickListBox, SelectHdl, ListBox&, void )
{
OUString aString;
- const sal_Int32 nPos = GetSelectEntryPos();
+ const sal_Int32 nPos = GetSelectedEntryPos();
if (nPos != 0)
{