diff options
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 469f4fbbfb6d..e0356b2b5391 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -923,6 +923,7 @@ void SvxCharNamePage::FillStyleBox_Impl( const FontNameBox* pNameBox ) else { DBG_ERRORFILE( "invalid font name box" ); + return; } pStyleBox->Fill( pNameBox->GetText(), pFontList ); @@ -969,6 +970,7 @@ void SvxCharNamePage::FillSizeBox_Impl( const FontNameBox* pNameBox ) else { DBG_ERRORFILE( "invalid font name box" ); + return; } FontInfo _aFontInfo( pFontList->Get( pNameBox->GetText(), pStyleBox->GetText() ) ); |