Author: af
Date: Tue Apr 23 13:56:35 2013
New Revision: 1470963

URL: http://svn.apache.org/r1470963
Log:
122085: Fixed over-painting of fixed text.

Modified:
    openoffice/trunk/main/sd/source/ui/animations/CustomAnimationPane.cxx

Modified: openoffice/trunk/main/sd/source/ui/animations/CustomAnimationPane.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/animations/CustomAnimationPane.cxx?rev=1470963&r1=1470962&r2=1470963&view=diff
==============================================================================
--- openoffice/trunk/main/sd/source/ui/animations/CustomAnimationPane.cxx 
(original)
+++ openoffice/trunk/main/sd/source/ui/animations/CustomAnimationPane.cxx Tue 
Apr 23 13:56:35 2013
@@ -1090,23 +1090,26 @@ void CustomAnimationPane::DataChanged (c
 
 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);
 }
 
 


Reply via email to