summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtstyle.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2000-11-07 12:33:09 +0000
committerMichael Brauer <mib@openoffice.org>2000-11-07 12:33:09 +0000
commitb5fc47fe5c2892dd712e2bda922656eacbd932f1 (patch)
treee00ae2ef750a72ad2b10b1b4cdbe31a02b7ecb33 /xmloff/source/text/txtstyle.cxx
parentaa841ce0e4fb3e83c7bcccc541447def18e14e75 (diff)
shape import and export for text documents
Diffstat (limited to 'xmloff/source/text/txtstyle.cxx')
-rw-r--r--xmloff/source/text/txtstyle.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/xmloff/source/text/txtstyle.cxx b/xmloff/source/text/txtstyle.cxx
index 19434f5132aa..d49e051b30e4 100644
--- a/xmloff/source/text/txtstyle.cxx
+++ b/xmloff/source/text/txtstyle.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtstyle.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mib $ $Date: 2000-10-18 11:18:30 $
+ * last change: $Author: mib $ $Date: 2000-11-07 13:33:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -184,8 +184,10 @@ void XMLTextParagraphExport::exportTextStyles( sal_Bool bUsed )
bUsed, XML_STYLE_FAMILY_TEXT_PARAGRAPH );
exportStyleFamily( "CharacterStyles", sXML_text, GetTextPropMapper(),
bUsed, XML_STYLE_FAMILY_TEXT_TEXT );
+ // get shape export to make sure the the frame family is added correctly.
+ GetExport().GetShapeExport();
exportStyleFamily( "FrameStyles", XML_STYLE_FAMILY_SD_GRAPHICS_NAME, GetFramePropMapper(),
- bUsed, XML_STYLE_FAMILY_SD_GRAPHICS_ID );
+ bUsed, XML_STYLE_FAMILY_TEXT_FRAME );
exportNumStyles( bUsed );
exportTextFootnoteConfiguration();
}