editeng/source/items/numitem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f5f4f6cfc300e923ddf13f1452da829244d10801
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Aug 16 11:14:50 2018 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Aug 16 14:37:49 2018 +0200

    Adapt cast
    
    ...to 0d227c96e11d7d03829144183bc66d229e059a4b "SvxNumberFormat::nAbsLSpace
    should have a larger type", from which this was accidentally missing
    
    Change-Id: I1d84f8f3545512ca47181b40b56effda39894e67
    Reviewed-on: https://gerrit.libreoffice.org/59160
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 0001e6f1af6f..f85c4aec9855 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -450,7 +450,7 @@ sal_Int32 SvxNumberFormat::GetAbsLSpace() const
 {
     return mePositionAndSpaceMode == LABEL_WIDTH_AND_POSITION
            ? nAbsLSpace
-           : static_cast<short>( GetFirstLineIndent() + GetIndentAt() );
+           : static_cast<sal_Int32>( GetFirstLineIndent() + GetIndentAt() );
 }
 short SvxNumberFormat::GetFirstLineOffset() const
 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to