summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-25 16:36:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-25 16:37:04 +0200
commit1af499d3e7746f47927dd086437946a4d7c4015b (patch)
treefc309f20d16cee4b84a148601c2dc09f353a2cbb /sw
parentaa04c6d20df8746353db00c4ac8a265b45cf6b51 (diff)
Cannot extract Any to sal_uInt8
...which has the same underlying type as sal_Bool. The /org.openoffice.Office.Writer/Numbering/DefaultBulletList properties FontWeight and FontItalic are of type xs:short, i.e., sal_Int16. Change-Id: Id8ea7300b5fda65f7fe7df98d4f8b32c22da9886
Diffstat (limited to 'sw')
-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);