summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/colorchoicecontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/colorchoicecontext.cxx')
-rw-r--r--oox/source/drawingml/colorchoicecontext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/colorchoicecontext.cxx b/oox/source/drawingml/colorchoicecontext.cxx
index b33b6dd87b79..bec28b042fca 100644
--- a/oox/source/drawingml/colorchoicecontext.cxx
+++ b/oox/source/drawingml/colorchoicecontext.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include "oox/drawingml/drawingmltypes.hxx"
#include "oox/drawingml/colorchoicecontext.hxx"
#include "oox/helper/attributelist.hxx"
#include "oox/drawingml/color.hxx"
@@ -83,6 +84,8 @@ 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 ):