Kaydet (Commit) a35a2982 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

drawingML import: remove some unneeded member

Change-Id: Iea975665b9225e535dcc4fbdcd666d7c7bff8ef3
üst fb217f27
......@@ -43,8 +43,6 @@ public:
protected:
TextParagraphProperties& mrTextParagraphProperties;
TextSpacing maLineSpacing;
TextSpacing& mrSpaceBefore;
TextSpacing& mrSpaceAfter;
BulletList& mrBulletList;
::std::list< ::com::sun::star::style::TabStop > maTabList;
::boost::shared_ptr< BlipFillProperties > mxBlipProps;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment