some Get.*Export() methods create and register families - so call them.

Change-Id: I6907b630f75b01dc9c0cfb2931c0142429600184
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 4a4cda3..38e5e30 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -306,7 +306,6 @@
         // filter propset
         SvXMLAutoFilteredSet xPropStates( mrExport.GetAutoStylePool(), aShapeInfo.mnFamily );
 
-        sal_Int32 nCount = 0;
         if( (!bIsEmptyPresObj || (aShapeInfo.meShapeType != XmlShapeTypePresPageShape)) )
         {
             xPropStates.filter( xPropSet );
@@ -351,6 +350,7 @@
         // 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 );