[Libreoffice-commits] .: cui/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Oct 25 13:27:43 PDT 2010
cui/source/tabpages/chardlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c091f4b33416e6adf5a9f91e28f35b832c95d95a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 25 21:00:26 2010 +0100
#i109882# return early in unlikely event of failure
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 6365aa0..2c0f8ac 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() ) );
More information about the Libreoffice-commits
mailing list