diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-03-15 19:41:57 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-15 19:41:57 +0000 |
commit | 2525774da3389af556d9bdd61741afb55ea20e05 (patch) | |
tree | 6857bc19fa6377597880952593e94e8b0c4d2779 | |
parent | cleanup automatic style creation helper to further shrink code. (diff) | |
download | core-feature/autostyle.tar.gz core-feature/autostyle.zip |
some Get.*Export() methods create and register families - so call them.
feature/autostyle
Change-Id: I6907b630f75b01dc9c0cfb2931c0142429600184
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 4a4cda3093a5..38e5e306c859 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -306,7 +306,6 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap // filter propset SvXMLAutoFilteredSet xPropStates( mrExport.GetAutoStylePool(), aShapeInfo.mnFamily ); - sal_Int32 nCount = 0; if( (!bIsEmptyPresObj || (aShapeInfo.meShapeType != XmlShapeTypePresPageShape)) ) { xPropStates.filter( xPropSet ); @@ -351,6 +350,7 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap // optionaly generate auto style for text attributes if( (!bIsEmptyPresObj || (aShapeInfo.meShapeType != XmlShapeTypePresPageShape)) && bObjSupportsText ) { + GetExport().GetTextParagraphExport(); // creates & registers text-paragraph family SvXMLAutoFilteredSet xTextPropStates( mrExport.GetAutoStylePool(), XML_STYLE_FAMILY_TEXT_PARAGRAPH ); xTextPropStates.filter( xPropSet ); |