Kaydet (Commit) 9acfbf82 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:defaultparams

Change-Id: I4f0a7baa517c2526dcea4d7fb779df6da32bda0f
üst d4265248
...@@ -2232,7 +2232,7 @@ OUString SvXMLExport::GetRelativeReference(const OUString& rValue) ...@@ -2232,7 +2232,7 @@ OUString SvXMLExport::GetRelativeReference(const OUString& rValue)
if( xUriRef->getScheme() == mpImpl->msPackageURIScheme ) if( xUriRef->getScheme() == mpImpl->msPackageURIScheme )
{ {
sValue = INetURLObject::GetRelURL( msOrigFileName, sValue, sValue = INetURLObject::GetRelURL( msOrigFileName, sValue,
INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI, RTL_TEXTENCODING_UTF8); INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI );
} }
} }
return sValue; return sValue;
......
...@@ -2147,7 +2147,7 @@ void XMLTextParagraphExport::exportParagraph( ...@@ -2147,7 +2147,7 @@ void XMLTextParagraphExport::exportParagraph(
if( bHasContentEnum ) if( bHasContentEnum )
exportTextContentEnumeration( exportTextContentEnumeration(
xContentEnum, bAutoStyles, xSection, xContentEnum, bAutoStyles, xSection,
bIsProgress, true, 0, true ); bIsProgress, true, 0 );
if ( bHasPortions ) if ( bHasPortions )
exportTextRangeEnumeration( xTextEnum, bAutoStyles, bIsProgress ); exportTextRangeEnumeration( xTextEnum, bAutoStyles, bIsProgress );
} }
......
...@@ -593,7 +593,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( ...@@ -593,7 +593,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
// convert twips value to inch // convert twips value to inch
sal_Int32 nMeasure; sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure, if (::sax::Converter::convertMeasure(nMeasure,
aAttrValue, util::MeasureUnit::MM_100TH)) aAttrValue))
{ {
// #i13778#,#i36248# apply correct twip-to-1/100mm // #i13778#,#i36248# apply correct twip-to-1/100mm
...@@ -756,7 +756,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( ...@@ -756,7 +756,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
// convert inch value to twips and export as faked inch // convert inch value to twips and export as faked inch
sal_Int32 nMeasure; sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure, if (::sax::Converter::convertMeasure(nMeasure,
aAttrValue, util::MeasureUnit::MM_100TH)) aAttrValue))
{ {
// #i13778#,#i36248#/ apply correct 1/100mm-to-twip conversion // #i13778#,#i36248#/ apply correct 1/100mm-to-twip conversion
...@@ -784,7 +784,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( ...@@ -784,7 +784,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
sal_Int32 nMeasure; sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure, if (::sax::Converter::convertMeasure(nMeasure,
aAttrValue, util::MeasureUnit::MM_100TH)) aAttrValue))
{ {
if( nMeasure > 0 ) if( nMeasure > 0 )
...@@ -811,7 +811,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( ...@@ -811,7 +811,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
sal_Int32 nMeasure; sal_Int32 nMeasure;
if (::sax::Converter::convertMeasure(nMeasure, if (::sax::Converter::convertMeasure(nMeasure,
aAttrValue, util::MeasureUnit::MM_100TH)) aAttrValue))
{ {
if( nMeasure > 0 ) if( nMeasure > 0 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment