cui/source/tabpages/tphatch.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 9f5bb8cddd28be2c45ac5bdf438d4996337f6380 Author: Rishabh Kumar <kris.kr...@gmail.com> Date: Wed Jun 1 20:53:32 2016 +0530 Import custom Hatch background color Change-Id: I36593afb557f9826f2b0117cd93d2712bc676cdd Reviewed-on: https://gerrit.libreoffice.org/25784 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index 78e5fa8..3b0afef 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -240,6 +240,12 @@ void SvxHatchTabPage::ActivatePage( const SfxItemSet& rSet ) if(aBckItem.GetValue()) aColor = aColorItem.GetColorValue(); m_pLbBackgroundColor->SelectEntry(aColor); + if( m_pLbBackgroundColor->GetSelectEntryCount() == 0 ) + { + m_pLbBackgroundColor->InsertEntry( aColor , OUString() ); + m_pLbBackgroundColor->SelectEntry( aColor ); + } + m_rXFSet.Put( aBckItem ); m_rXFSet.Put( aColorItem ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits