SvxNumberFormat::SetAbsLSpace takes short

...so there appears to be no good reason to cast from sal_Int32 to sal_uInt16 first

Change-Id: I67384bc736685269acb6c2033b2c4edffd27a510
Reviewed-on: https://gerrit.libreoffice.org/48953
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2018-01-31 08:43:27 +01:00
parent 836b5ac339
commit 3341c75202

View File

@@ -397,7 +397,7 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex(const Sequence<beans::Propert
sal_Int32 nMargin = 0;
if( aVal >>= nMargin )
{
aFmt.SetAbsLSpace(static_cast<sal_uInt16>(nMargin));
aFmt.SetAbsLSpace(nMargin);
continue;
}
}