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: ...@@ -43,8 +43,6 @@ public:
protected: protected:
TextParagraphProperties& mrTextParagraphProperties; TextParagraphProperties& mrTextParagraphProperties;
TextSpacing maLineSpacing; TextSpacing maLineSpacing;
TextSpacing& mrSpaceBefore;
TextSpacing& mrSpaceAfter;
BulletList& mrBulletList; BulletList& mrBulletList;
::std::list< ::com::sun::star::style::TabStop > maTabList; ::std::list< ::com::sun::star::style::TabStop > maTabList;
::boost::shared_ptr< BlipFillProperties > mxBlipProps; ::boost::shared_ptr< BlipFillProperties > mxBlipProps;
......
...@@ -47,8 +47,6 @@ TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler2H ...@@ -47,8 +47,6 @@ TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler2H
TextParagraphProperties& rTextParagraphProperties ) TextParagraphProperties& rTextParagraphProperties )
: ContextHandler2( rParent ) : ContextHandler2( rParent )
, mrTextParagraphProperties( rTextParagraphProperties ) , mrTextParagraphProperties( rTextParagraphProperties )
, mrSpaceBefore( rTextParagraphProperties.getParaTopMargin() )
, mrSpaceAfter( rTextParagraphProperties.getParaBottomMargin() )
, mrBulletList( rTextParagraphProperties.getBulletList() ) , mrBulletList( rTextParagraphProperties.getBulletList() )
{ {
OUString sValue; OUString sValue;
...@@ -171,9 +169,9 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl ...@@ -171,9 +169,9 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl
case A_TOKEN( lnSpc ): // CT_TextSpacing case A_TOKEN( lnSpc ): // CT_TextSpacing
return new TextSpacingContext( *this, maLineSpacing ); return new TextSpacingContext( *this, maLineSpacing );
case A_TOKEN( spcBef ): // CT_TextSpacing case A_TOKEN( spcBef ): // CT_TextSpacing
return new TextSpacingContext( *this, mrSpaceBefore ); return new TextSpacingContext( *this, mrTextParagraphProperties.getParaTopMargin() );
case A_TOKEN( spcAft ): // CT_TextSpacing case A_TOKEN( spcAft ): // CT_TextSpacing
return new TextSpacingContext( *this, mrSpaceAfter ); return new TextSpacingContext( *this, mrTextParagraphProperties.getParaBottomMargin() );
// EG_TextBulletColor // EG_TextBulletColor
case A_TOKEN( buClrTx ): // CT_TextBulletColorFollowText ??? case A_TOKEN( buClrTx ): // CT_TextBulletColorFollowText ???
mrBulletList.mbBulletColorFollowText <<= sal_True; 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