diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-31 08:43:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-31 13:37:46 +0100 |
commit | 3341c752024687e96b7aad2d19e04d65ee7e232e (patch) | |
tree | ac120955c29ecf295661e638a4ff122e93b7c5c4 /editeng | |
parent | 836b5ac33938a49f2c2537e278fbf49fd6b8e9ea (diff) |
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>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |