summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-08-16 11:14:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-08-16 14:37:49 +0200
commitf5f4f6cfc300e923ddf13f1452da829244d10801 (patch)
treedea4f823a8ae0583468f92920fb5cd0659c94bf8 /editeng
parent213df3f22afc4d65bf5b426def641fa1d54e8548 (diff)
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@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx2
1 files changed, 1 insertions, 1 deletions
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
{