summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 101fcfd88825..107c853ea76e 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -817,7 +817,8 @@ void EditorWindow::ImplSetFont()
{
rtl::OUString sFontName(
officecfg::Office::Common::Font::SourceViewFont::FontName::get(
- comphelper::getProcessComponentContext() ) );
+ comphelper::getProcessComponentContext() ).
+ get_value_or( rtl::OUString() ) );
if ( sFontName.isEmpty() )
{
Font aTmpFont( OutputDevice::GetDefaultFont( DEFAULTFONT_FIXED, Application::GetSettings().GetUILanguage(), 0 , this ) );