963c6b655032b4e5d0f26555f3c26a129a9efb03 in slideshow. The RGBColor copy
constructor is wrong, which means that colors in e.g. font color
transitions are always black to black, i.e. transitions appear to get
lost.
I reckon we should stick this into 3.3, what do you think ?
C.
From 963c6b655032b4e5d0f26555f3c26a129a9efb03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
Date: Sat, 18 Dec 2010 18:26:18 +0000
Subject: [PATCH] Resoves: rhbz#663857 font color missing; C++ FAQ 10.3 doomage
---
 slideshow/source/engine/color.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/slideshow/source/engine/color.cxx b/slideshow/source/engine/color.cxx
index 0f8a8f7..341a54a 100644
--- a/slideshow/source/engine/color.cxx
+++ b/slideshow/source/engine/color.cxx
@@ -229,8 +229,8 @@ namespace slideshow
         }
 
         RGBColor::RGBColor(const RGBColor& rLHS)
+            : maRGBTriple( rLHS.maRGBTriple )
         {
-            RGBColor(rLHS.getRed(), rLHS.getGreen(), rLHS.getBlue());          
         }
 
         RGBColor& RGBColor::operator=( const RGBColor& rLHS ){
-- 
1.7.3.3
Context
- [Libreoffice] backport bad copy ctor fix,	missing slide color transitions to 3.3 · Caolán McNamara
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.