[Libreoffice-commits] core.git: oox/source

Muthu Subramanian sumuthu at collabora.com
Thu Oct 10 07:07:24 PDT 2013


 oox/source/drawingml/colorchoicecontext.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 6ef291086aaaa4a6bb2d196d75826fef30dd58b8
Author: Muthu Subramanian <sumuthu at collabora.com>
Date:   Thu Oct 10 19:37:16 2013 +0530

    Partially revert alpha handling.
    
    Spec talks about x% while documents seem to contain x*1000

diff --git a/oox/source/drawingml/colorchoicecontext.cxx b/oox/source/drawingml/colorchoicecontext.cxx
index bec28b0..951033d 100644
--- a/oox/source/drawingml/colorchoicecontext.cxx
+++ b/oox/source/drawingml/colorchoicecontext.cxx
@@ -84,8 +84,6 @@ void ColorValueContext::onStartElement( const AttributeList& rAttribs )
     switch( nElement )
     {
         case A_TOKEN( alpha ):
-            mrColor.addTransformation( nElement, rAttribs.getInteger( XML_val, 0 )*PER_PERCENT );
-            break;
         case A_TOKEN( alphaMod ):
         case A_TOKEN( alphaOff ):
         case A_TOKEN( blue ):


More information about the Libreoffice-commits mailing list