summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx21
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);
}