summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumi.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:43:02 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:18 +0200
commit05457f3bf8fdfef2e334515424a9d6151e02b244 (patch)
treec7c4e16102fd122f751b5d01d7fe8e64184ec9a7 /xmloff/source/style/xmlnumi.cxx
parent8dc5f89346fa0f6820d5fd0b1ad4092168967f12 (diff)
loplugin: defaultparams
Change-Id: I7989a91d8d67a15d3fef13391c5dbf06233f75e9
Diffstat (limited to 'xmloff/source/style/xmlnumi.cxx')
-rw-r--r--xmloff/source/style/xmlnumi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index 4fbd4f495556..492bf8085850 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -729,11 +729,11 @@ SvxXMLListLevelStyleAttrContext_Impl::SvxXMLListLevelStyleAttrContext_Impl(
sVerticalRel = rValue;
break;
case XML_TOK_STYLE_ATTRIBUTES_ATTR_WIDTH:
- if (rUnitConv.convertMeasureToCore(nVal, rValue, 0, SAL_MAX_INT32))
+ if (rUnitConv.convertMeasureToCore(nVal, rValue))
rListLevel.SetImageWidth( nVal );
break;
case XML_TOK_STYLE_ATTRIBUTES_ATTR_HEIGHT:
- if (rUnitConv.convertMeasureToCore(nVal, rValue, 0, SAL_MAX_INT32))
+ if (rUnitConv.convertMeasureToCore(nVal, rValue))
rListLevel.SetImageHeight( nVal );
break;
case XML_TOK_STYLE_ATTRIBUTES_ATTR_COLOR: