diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2013-12-11 15:32:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-11 17:22:26 +0000 |
commit | f9f169bd07b2cbaaa9fbe19ec99c07900ee5fbbd (patch) | |
tree | 0ed7016c845eecb2667a62a0c523139163be4390 /svx | |
parent | 720a05810183b5f19712395480e4e18d1a9d8133 (diff) |
fdo#71748 Fix also for hicontrast and sifr themes
A follow-up of commit e239f372c6abcd8371d0a666c828bf1c31195dd4.
Didn't notice there is fill_color.png also in these themes.
Also fixed the ugly yellow color flash of paragraph color picker while
initializing the sidebar (introduced by the above commit). This color
picker shows the actual color of a paragraph, so there is no reason to
set some default color there.
Change-Id: I17eed733d1e35ec71c482e3df906523733383e96
Reviewed-on: https://gerrit.libreoffice.org/7036
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index dbb63b1c9608..a746570111da 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -346,7 +346,7 @@ void ParaPropertyPanel::InitToolBoxBGColor() const sal_uInt16 nIdBackColor = mpTBxBackColor->GetItemId(UNO_PARABACKCOLOR); mpTBxBackColor->SetItemImage(nIdBackColor, GetDisplayBackground().GetColor().IsDark()? maImgBackColorHigh : maImgBackColor); - mpColorUpdater.reset(new ::svx::ToolboxButtonColorUpdater(SID_BACKGROUND_COLOR, nIdBackColor, mpTBxBackColor)); + mpColorUpdater.reset(new ::svx::ToolboxButtonColorUpdater(0, nIdBackColor, mpTBxBackColor)); mpTBxBackColor->SetItemBits( nIdBackColor, mpTBxBackColor->GetItemBits( nIdBackColor ) | TIB_DROPDOWNONLY ); Link aLink = LINK(this, ParaPropertyPanel, ToolBoxBackColorDDHandler); |