summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2010-10-08 13:51:09 +0200
committerRadek Doulik <rodo@novell.com>2010-10-08 13:51:09 +0200
commit69a1226fc68c3e837ad57500fcb629daaa9f6f2d (patch)
tree7b6e77bc642b765c026a588ce7365a094ee6ddc8 /oox
parentd04971ec9222823f889d996e9ae43bcdc82ef2f6 (diff)
oox-import-drawing-font-spacing.diff: import character spacing.
n#479822
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textcharacterpropertiescontext.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx
index cfba04a7b44b..c8af000c069e 100644
--- a/oox/source/drawingml/textcharacterpropertiescontext.cxx
+++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx
@@ -60,6 +60,8 @@ TextCharacterPropertiesContext::TextCharacterPropertiesContext(
mrTextCharacterProperties.moLang = aAttribs.getString( XML_lang );
if ( aAttribs.hasAttribute( XML_sz ) )
mrTextCharacterProperties.moHeight = aAttribs.getInteger( XML_sz );
+ if ( aAttribs.hasAttribute( XML_spc ) )
+ mrTextCharacterProperties.moSpacing = aAttribs.getInteger( XML_spc );
if ( aAttribs.hasAttribute( XML_u ) )
mrTextCharacterProperties.moUnderline = aAttribs.getToken( XML_u );
if ( aAttribs.hasAttribute( XML_strike ) )