summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textbodycontext.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-12-09 10:22:44 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-12-09 12:01:09 +0100
commit9b531abb6179a9f7f9cf4c745dba5060397425c6 (patch)
treefc61c12668c0f894b496f01726eb26becc78b80c /oox/source/drawingml/textbodycontext.cxx
parent9dad3de754f4ceb5c8f2cea734d353d3862b5556 (diff)
drawingml import: read w:rPr
Change-Id: I4405f9bc073b6e0b8c0426561ae9d01d91efdd59
Diffstat (limited to 'oox/source/drawingml/textbodycontext.cxx')
-rw-r--r--oox/source/drawingml/textbodycontext.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/drawingml/textbodycontext.cxx b/oox/source/drawingml/textbodycontext.cxx
index 6d33fe3a246b..d274d5adc63e 100644
--- a/oox/source/drawingml/textbodycontext.cxx
+++ b/oox/source/drawingml/textbodycontext.cxx
@@ -135,11 +135,15 @@ ContextHandlerRef RegularTextRunContext::onCreateContext( sal_Int32 aElementToke
switch( aElementToken )
{
case A_TOKEN( rPr ): // "CT_TextCharPropertyBag" The text char properties of this text run.
+ case OOX_TOKEN( doc, rPr ):
return new TextCharacterPropertiesContext( *this, rAttribs, mpRunPtr->getTextCharacterProperties() );
case A_TOKEN( t ): // "xsd:string" minOccurs="1" The actual text string.
case OOX_TOKEN( doc, t ):
mbIsInText = true;
break;
+ default:
+ SAL_WARN("oox", "RegularTextRunContext::onCreateContext: unhandled element: " << getBaseToken(aElementToken));
+ break;
}
return this;