summaryrefslogtreecommitdiffstats
path: root/xmloff/source/text
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:26 +0200
commit0500f7bcc868a6c9c5373e48f9e0b17328929433 (patch)
tree13bdf5cb4569c2661e78cf591d92505b09d69f24 /xmloff/source/text
parentloplugin:defaultparams (diff)
downloadcore-0500f7bcc868a6c9c5373e48f9e0b17328929433.tar.gz
core-0500f7bcc868a6c9c5373e48f9e0b17328929433.zip
loplugin:defaultparams
Change-Id: I0f5d4deb3d6f8445251867638a4ec812762ced56
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/txtparae.cxx10
-rw-r--r--xmloff/source/text/txtstyle.cxx4
2 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index dcad869b969e..fdca9f6e9097 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -1528,7 +1528,7 @@ bool XMLTextParagraphExport::collectTextAutoStylesOptimized( bool bIsProgress )
{
Reference<XTextContent> xTxtCntnt(xTextFramesEnum->nextElement(), UNO_QUERY);
if(xTxtCntnt.is())
- exportTextFrame(xTxtCntnt, bAutoStyles, bIsProgress, bExportContent, 0);
+ exportTextFrame(xTxtCntnt, bAutoStyles, bIsProgress, bExportContent);
}
// Export graphic objects:
@@ -1538,7 +1538,7 @@ bool XMLTextParagraphExport::collectTextAutoStylesOptimized( bool bIsProgress )
{
Reference<XTextContent> xTxtCntnt(xGraphicsEnum->nextElement(), UNO_QUERY);
if(xTxtCntnt.is())
- exportTextGraphic(xTxtCntnt, true, 0);
+ exportTextGraphic(xTxtCntnt, true);
}
// Export embedded objects:
@@ -1548,7 +1548,7 @@ bool XMLTextParagraphExport::collectTextAutoStylesOptimized( bool bIsProgress )
{
Reference<XTextContent> xTxtCntnt(xEmbeddedsEnum->nextElement(), UNO_QUERY);
if(xTxtCntnt.is())
- exportTextEmbedded(xTxtCntnt, true, 0);
+ exportTextEmbedded(xTxtCntnt, true);
}
// Export shapes:
@@ -1561,7 +1561,7 @@ bool XMLTextParagraphExport::collectTextAutoStylesOptimized( bool bIsProgress )
{
Reference<XServiceInfo> xServiceInfo(xTxtCntnt, UNO_QUERY);
if( xServiceInfo->supportsService(sShapeService))
- exportShape(xTxtCntnt, true, 0);
+ exportShape(xTxtCntnt, true);
}
}
@@ -2147,7 +2147,7 @@ void XMLTextParagraphExport::exportParagraph(
if( bHasContentEnum )
exportTextContentEnumeration(
xContentEnum, bAutoStyles, xSection,
- bIsProgress, true, 0 );
+ bIsProgress );
if ( bHasPortions )
exportTextRangeEnumeration( xTextEnum, bAutoStyles, bIsProgress );
}
diff --git a/xmloff/source/text/txtstyle.cxx b/xmloff/source/text/txtstyle.cxx
index 4ccef23b62af..877efefc2d82 100644
--- a/xmloff/source/text/txtstyle.cxx
+++ b/xmloff/source/text/txtstyle.cxx
@@ -141,13 +141,13 @@ void XMLTextParagraphExport::exportTextStyles( bool bUsed, bool bProg )
}
}
exportStyleFamily( "ParagraphStyles", GetXMLToken(XML_PARAGRAPH), GetParaPropMapper(),
- bUsed, XML_STYLE_FAMILY_TEXT_PARAGRAPH, 0);
+ bUsed, XML_STYLE_FAMILY_TEXT_PARAGRAPH);
exportStyleFamily( "CharacterStyles", GetXMLToken(XML_TEXT), GetTextPropMapper(),
bUsed, XML_STYLE_FAMILY_TEXT_TEXT );
// get shape export to make sure the frame family is added correctly.
GetExport().GetShapeExport();
exportStyleFamily( "FrameStyles", OUString(XML_STYLE_FAMILY_SD_GRAPHICS_NAME), GetFramePropMapper(),
- bUsed, XML_STYLE_FAMILY_TEXT_FRAME, 0);
+ bUsed, XML_STYLE_FAMILY_TEXT_FRAME);
exportNumStyles( bUsed );
if( !IsBlockMode() )
{