summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-02-23 16:09:34 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-02-23 19:19:46 +0100
commita35a29829d1899e441a969de6d1045fd17e4639b (patch)
treebf7459f24f3d76450cd3a3cdc9d4a8a6946812f2 /oox
parentfb217f27eb0f3a34c89d262d2c71a4ac4427ec5f (diff)
drawingML import: remove some unneeded member
Change-Id: Iea975665b9225e535dcc4fbdcd666d7c7bff8ef3
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textparagraphpropertiescontext.cxx6
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;