diff options
author | Andre Fischer <af@apache.org> | 2013-04-23 12:56:35 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-20 11:33:19 +0100 |
commit | df282e6bf8cb497b5a32a49557c2c7267e4d3541 (patch) | |
tree | b194d10c9f273043beade41e7d56be3d29f68e24 | |
parent | 1820bc972ba8eb64cae4451ce4dcf73800d88937 (diff) |
Resolves: #i122085# Fixed over-painting of fixed text
(cherry picked from commit 0ba322a27a8d0651f410741d79bbb7125a8ec2b7)
Change-Id: I208297d67bdb9e0277b39c0dc78b777f5eb2a7fa
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 267feea6eaa8..e8392eec535c 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1076,23 +1076,26 @@ void CustomAnimationPane::DataChanged (const DataChangedEvent& rEvent) void CustomAnimationPane::UpdateLook (void) { - SetBackground(::sfx2::sidebar::Theme::GetWallpaper(::sfx2::sidebar::Theme::Paint_PanelBackground)); + const Wallpaper aBackground ( + ::sfx2::sidebar::Theme::GetWallpaper( + ::sfx2::sidebar::Theme::Paint_PanelBackground)); + SetBackground(aBackground); if (mpFLModify != NULL) - mpFLModify->SetBackground(Wallpaper()); + mpFLModify->SetBackground(aBackground); if (mpFLEffect != NULL) - mpFLEffect->SetBackground(Wallpaper()); + mpFLEffect->SetBackground(aBackground); if (mpFTStart != NULL) - mpFTStart->SetBackground(Wallpaper()); + mpFTStart->SetBackground(aBackground); if (mpFTProperty != NULL) - mpFTProperty->SetBackground(Wallpaper()); + mpFTProperty->SetBackground(aBackground); if (mpFTSpeed != NULL) - mpFTSpeed->SetBackground(Wallpaper()); + mpFTSpeed->SetBackground(aBackground); if (mpFTChangeOrder != NULL) - mpFTChangeOrder->SetBackground(Wallpaper()); + mpFTChangeOrder->SetBackground(aBackground); if (mpFLSeperator1 != NULL) - mpFLSeperator1->SetBackground(Wallpaper()); + mpFLSeperator1->SetBackground(aBackground); if (mpFLSeperator2 != NULL) - mpFLSeperator2->SetBackground(Wallpaper()); + mpFLSeperator2->SetBackground(aBackground); } |