summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:17 +0200
commit9acfbf8294fa971d02927379c7966a3d830b7076 (patch)
tree82ea3638bb2193d31847ca51cb374d1b8242ea38 /xmloff
parentd42652486f66dfd446e4b772afaf4ec230bfb683 (diff)
loplugin:defaultparams
Change-Id: I4f0a7baa517c2526dcea4d7fb779df6da32bda0f
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlexp.cxx2
-rw-r--r--xmloff/source/text/txtparae.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.cxx8
3 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 0671e34eb9e9..505e52ca1972 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -2232,7 +2232,7 @@ OUString SvXMLExport::GetRelativeReference(const OUString& rValue)
if( xUriRef->getScheme() == mpImpl->msPackageURIScheme )
{
sValue = INetURLObject::GetRelURL( msOrigFileName, sValue,
- INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI, RTL_TEXTENCODING_UTF8);
+ INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI );
}
}
return sValue;
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index be7ea98a9611..dcad869b969e 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2147,7 +2147,7 @@ void XMLTextParagraphExport::exportParagraph(
if( bHasContentEnum )
exportTextContentEnumeration(
xContentEnum, bAutoStyles, xSection,
- bIsProgress, true, 0, true );
+ bIsProgress, true, 0 );
if ( bHasPortions )
exportTextRangeEnumeration( xTextEnum, bAutoStyles, bIsProgress );
}
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 8d8e12ed37ce..31a7e8e4db9b 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -593,7 +593,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
// convert twips value to inch
sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure,
- aAttrValue, util::MeasureUnit::MM_100TH))
+ aAttrValue))
{
// #i13778#,#i36248# apply correct twip-to-1/100mm
@@ -756,7 +756,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
// convert inch value to twips and export as faked inch
sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure,
- aAttrValue, util::MeasureUnit::MM_100TH))
+ aAttrValue))
{
// #i13778#,#i36248#/ apply correct 1/100mm-to-twip conversion
@@ -784,7 +784,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure,
- aAttrValue, util::MeasureUnit::MM_100TH))
+ aAttrValue))
{
if( nMeasure > 0 )
@@ -811,7 +811,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure,
- aAttrValue, util::MeasureUnit::MM_100TH))
+ aAttrValue))
{
if( nMeasure > 0 )