[Libreoffice-commits] core.git: editeng/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Aug 16 12:38:11 UTC 2018
editeng/source/items/numitem.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f5f4f6cfc300e923ddf13f1452da829244d10801
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 16 11:14:50 2018 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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
{
More information about the Libreoffice-commits
mailing list