summaryrefslogtreecommitdiff
path: root/cui/source/options/fontsubs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r--cui/source/options/fontsubs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 0dfb9adcca7b..79c0e9f32f8f 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -196,7 +196,7 @@ bool SvxFontSubstTabPage::FillItemSet( SfxItemSet* )
m_pNonPropFontsOnlyCB->IsChecked(), batch);
//font name changes cannot be detected by saved values
OUString sFontName;
- if(m_pFontNameLB->GetSelectEntryPos())
+ if(m_pFontNameLB->GetSelectedEntryPos())
sFontName = m_pFontNameLB->GetSelectedEntry();
officecfg::Office::Common::Font::SourceViewFont::FontName::set(
boost::optional< OUString >(sFontName), batch);