summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-23 22:51:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-23 22:51:37 +0200
commit861db4c1656956c82bf21489c0068b996bb66cac (patch)
treeb0dfa355e6e78e92f4d9aefe32ae28413f76b7b4
parent8485a276022e05bd34afb2321e72ecfad4589f7e (diff)
Monkey see, monkey do?
At least, it makes CppunitTest_sw_ooxmlsdrexport succeed again. Change-Id: I05b9de5366b0e3d2007311d00991758b6d6f8dba
-rw-r--r--oox/source/drawingml/effectpropertiescontext.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/drawingml/effectpropertiescontext.cxx b/oox/source/drawingml/effectpropertiescontext.cxx
index 458ee596fd4f..40f73187a655 100644
--- a/oox/source/drawingml/effectpropertiescontext.cxx
+++ b/oox/source/drawingml/effectpropertiescontext.cxx
@@ -82,6 +82,10 @@ ContextHandlerRef EffectPropertiesContext::onCreateContext( sal_Int32 nElement,
{
mrEffectProperties.msUnsupportedEffectName = "innerShdw";
saveUnsupportedAttribs( rAttribs );
+
+ mrEffectProperties.maShadow.moShadowDist = rAttribs.getInteger( XML_dist, 0 );
+ mrEffectProperties.maShadow.moShadowDir = rAttribs.getInteger( XML_dir, 0 );
+ return new ColorContext( *this, mrEffectProperties.maShadow.moShadowColor );
}
break;
}