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:
@@ -397,7 +397,7 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex(const Sequence<beans::Propert
|
|||||||
sal_Int32 nMargin = 0;
|
sal_Int32 nMargin = 0;
|
||||||
if( aVal >>= nMargin )
|
if( aVal >>= nMargin )
|
||||||
{
|
{
|
||||||
aFmt.SetAbsLSpace(static_cast<sal_uInt16>(nMargin));
|
aFmt.SetAbsLSpace(nMargin);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user