summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/doc/number.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 8bedd5747c2c..9be80a907a73 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -1227,7 +1227,7 @@ namespace numfunc
case 1:
case 2:
{
- sal_uInt8 nTmp = 0;
+ sal_Int16 nTmp = 0;
pValues[nProp] >>= nTmp;
if ( nProp == 1 )
meFontWeight = static_cast<FontWeight>(nTmp);