sd/source/ui/animations/CustomAnimationPane.cxx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-)
New commits: commit c84a6f96f3e0d0f79bce7722fd63b8d0e688cb5f Author: Andre Fischer <a...@apache.org> Date: Tue Apr 23 12:56:35 2013 +0000 Resolves: #i122085# Fixed over-painting of fixed text (cherry picked from commit 0ba322a27a8d0651f410741d79bbb7125a8ec2b7) Change-Id: I208297d67bdb9e0277b39c0dc78b777f5eb2a7fa diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 2327f14..61b8cc3 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits