diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-23 16:09:34 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-02-23 19:19:46 +0100 |
commit | a35a29829d1899e441a969de6d1045fd17e4639b (patch) | |
tree | bf7459f24f3d76450cd3a3cdc9d4a8a6946812f2 /oox | |
parent | writerfilter: comment out incomplete w14 elements from model.xml (diff) | |
download | core-a35a29829d1899e441a969de6d1045fd17e4639b.tar.gz core-a35a29829d1899e441a969de6d1045fd17e4639b.zip |
drawingML import: remove some unneeded member
Change-Id: Iea975665b9225e535dcc4fbdcd666d7c7bff8ef3
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textparagraphpropertiescontext.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx index 9e0544616d8f..a47d37f1df4b 100644 --- a/oox/source/drawingml/textparagraphpropertiescontext.cxx +++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx @@ -47,8 +47,6 @@ TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler2H TextParagraphProperties& rTextParagraphProperties ) : ContextHandler2( rParent ) , mrTextParagraphProperties( rTextParagraphProperties ) -, mrSpaceBefore( rTextParagraphProperties.getParaTopMargin() ) -, mrSpaceAfter( rTextParagraphProperties.getParaBottomMargin() ) , mrBulletList( rTextParagraphProperties.getBulletList() ) { OUString sValue; @@ -171,9 +169,9 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl case A_TOKEN( lnSpc ): // CT_TextSpacing return new TextSpacingContext( *this, maLineSpacing ); case A_TOKEN( spcBef ): // CT_TextSpacing - return new TextSpacingContext( *this, mrSpaceBefore ); + return new TextSpacingContext( *this, mrTextParagraphProperties.getParaTopMargin() ); case A_TOKEN( spcAft ): // CT_TextSpacing - return new TextSpacingContext( *this, mrSpaceAfter ); + return new TextSpacingContext( *this, mrTextParagraphProperties.getParaBottomMargin() ); // EG_TextBulletColor case A_TOKEN( buClrTx ): // CT_TextBulletColorFollowText ??? mrBulletList.mbBulletColorFollowText <<= sal_True; |