editeng/source/uno/unonrule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3341c752024687e96b7aad2d19e04d65ee7e232e Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jan 31 08:43:27 2018 +0100 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 <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 0860a8cd4de2..d7364ad35619 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -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; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits