diff options
author | Katarina Behrens <bubli@bubli.org> | 2015-01-05 23:09:11 +0100 |
---|---|---|
committer | Katarina Behrens <bubli@bubli.org> | 2015-01-05 23:28:06 +0100 |
commit | 8c7f6830e767897d3a0e88f75fc8d7ef7fca95dc (patch) | |
tree | bb129a582817cfc4b36f5311c09d9e472e4c31cc /cui | |
parent | 3f88d949d9a1446e673385cc4d7ca40c7477fded (diff) |
fdo#84228: Set rectangle props after setting shadow props
It doesn't work the other way round, the preview then fails to be
updated, the old shadow still sticks around. I don't know why. Those
X different SfxItemSet pools just make my head spin :(
Change-Id: I436a46f95299cf32f4bb43437cc5c23a655dbe9d
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tpshadow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx index dd06af673764..15d00d19de19 100644 --- a/cui/source/tabpages/tpshadow.cxx +++ b/cui/source/tabpages/tpshadow.cxx @@ -210,7 +210,6 @@ void SvxShadowTabPage::ActivatePage( const SfxItemSet& rSet ) } } - m_pCtlXRectPreview->SetRectangleAttributes(rSet); // aLbShadowColor nPos = m_pLbShadowColor->GetSelectEntryPos(); m_pLbShadowColor->Clear(); @@ -224,6 +223,7 @@ void SvxShadowTabPage::ActivatePage( const SfxItemSet& rSet ) m_pLbShadowColor->SelectEntryPos( nPos ); ModifyShadowHdl_Impl( this ); + m_pCtlXRectPreview->SetRectangleAttributes(rSet); } nPageType = PT_SHADOW; } |