Kaydet (Commit) 0497864b authored tarafından David Tardon's avatar David Tardon

rhbz#1121254 reload font list from shell on change

Change-Id: Ief88373c210b3b6f65c1df5b31870aca561095bb
üst 87266b18
...@@ -891,6 +891,12 @@ void SvxFontNameBox_Impl::DataChanged( const DataChangedEvent& rDCEvt ) ...@@ -891,6 +891,12 @@ void SvxFontNameBox_Impl::DataChanged( const DataChangedEvent& rDCEvt )
Size aDropSize( aLogicalSize.Width(), LOGICAL_EDIT_HEIGHT); Size aDropSize( aLogicalSize.Width(), LOGICAL_EDIT_HEIGHT);
SetDropDownSizePixel(LogicToPixel(aDropSize, MAP_APPFONT)); SetDropDownSizePixel(LogicToPixel(aDropSize, MAP_APPFONT));
} }
else if ( rDCEvt.GetType() == DATACHANGED_FONTS )
{
// The old font list in shell has likely been destroyed at this point, so we need to get
// the new one before doing anything further.
lcl_GetDocFontList( &pFontList, this );
}
FontNameBox::DataChanged( rDCEvt ); FontNameBox::DataChanged( rDCEvt );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment