diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 12 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 15 |
2 files changed, 13 insertions, 14 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 9e04ef03cc6a..12f4a1477648 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -1136,7 +1136,7 @@ void SvXMLExport::ImplExportSettings() } } -void SvXMLExport::ImplExportStyles( bool ) +void SvXMLExport::ImplExportStyles() { CheckAttrList(); @@ -1166,7 +1166,7 @@ void SvXMLExport::ImplExportStyles( bool ) } } -void SvXMLExport::ImplExportAutoStyles( bool ) +void SvXMLExport::ImplExportAutoStyles() { // transfer style names (+ families) FROM other components (if appropriate) OUString sStyleNames( "StyleNames" ); @@ -1192,7 +1192,7 @@ void SvXMLExport::ImplExportAutoStyles( bool ) } } -void SvXMLExport::ImplExportMasterStyles( bool ) +void SvXMLExport::ImplExportMasterStyles() { { // <style:master-styles> @@ -1443,15 +1443,15 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) // styles if( mnExportFlags & SvXMLExportFlags::STYLES ) - ImplExportStyles( false ); + ImplExportStyles(); // autostyles if( mnExportFlags & SvXMLExportFlags::AUTOSTYLES ) - ImplExportAutoStyles( false ); + ImplExportAutoStyles(); // masterstyles if( mnExportFlags & SvXMLExportFlags::MASTERSTYLES ) - ImplExportMasterStyles( false ); + ImplExportMasterStyles(); // content if( mnExportFlags & SvXMLExportFlags::CONTENT ) diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 7758c14d5ee9..b2c4320f8d6a 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1356,8 +1356,7 @@ SvXMLExportPropertyMapper *XMLTextParagraphExport::CreateParaDefaultExtPropMappe return new XMLTextExportPropertySetMapper( pPropMapper, rExport ); } -void XMLTextParagraphExport::exportPageFrames( bool bAutoStyles, - bool bIsProgress ) +void XMLTextParagraphExport::exportPageFrames( bool bIsProgress ) { const TextContentSet& rTexts = pBoundFrameSets->GetTexts()->GetPageBoundContents(); const TextContentSet& rGraphics = pBoundFrameSets->GetGraphics()->GetPageBoundContents(); @@ -1366,19 +1365,19 @@ void XMLTextParagraphExport::exportPageFrames( bool bAutoStyles, for(TextContentSet::const_iterator_t it = rTexts.getBegin(); it != rTexts.getEnd(); ++it) - exportTextFrame(*it, bAutoStyles, bIsProgress, true); + exportTextFrame(*it, false/*bAutoStyles*/, bIsProgress, true); for(TextContentSet::const_iterator_t it = rGraphics.getBegin(); it != rGraphics.getEnd(); ++it) - exportTextGraphic(*it, bAutoStyles); + exportTextGraphic(*it, false/*bAutoStyles*/); for(TextContentSet::const_iterator_t it = rEmbeddeds.getBegin(); it != rEmbeddeds.getEnd(); ++it) - exportTextEmbedded(*it, bAutoStyles); + exportTextEmbedded(*it, false/*bAutoStyles*/); for(TextContentSet::const_iterator_t it = rShapes.getBegin(); it != rShapes.getEnd(); ++it) - exportShape(*it, bAutoStyles); + exportShape(*it, false/*bAutoStyles*/); } void XMLTextParagraphExport::exportFrameFrames( @@ -3557,9 +3556,9 @@ void XMLTextParagraphExport::exportTextDeclarations( pFieldExport->ExportFieldDeclarations(rText); } -void XMLTextParagraphExport::exportUsedDeclarations( bool bOnlyUsed ) +void XMLTextParagraphExport::exportUsedDeclarations() { - pFieldExport->SetExportOnlyUsedFieldDeclarations( bOnlyUsed ); + pFieldExport->SetExportOnlyUsedFieldDeclarations( false/*bOnlyUsed*/ ); } void XMLTextParagraphExport::exportTrackedChanges(bool bAutoStyles) |