diff options
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index 4cc981480872..53ce0bece0cc 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -165,6 +165,9 @@ void FontWorkGalleryDialog::fillFavorites(sal_uInt16 nThemeId) Image aThumbImage( maFavoritesHorizontal[nFavorite-1] ); maCtlFavorites.InsertItem( static_cast<sal_uInt16>(nFavorite), aThumbImage, aStr ); } + + if (maCtlFavorites.GetItemCount()) + maCtlFavorites.SelectItem(1); } void FontWorkGalleryDialog::SetSdrObjectRef( SdrObject** ppSdrObject, SdrModel* pModel ) |