summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-04-01 15:54:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-01 16:29:32 +0200
commit1e3c7b854baac2502bed72ff8e3e1b21b507735b (patch)
treed96274d963ec78be020d842d5cacff7a515bebd3 /extras
parent6f8ffc4eed5ff584bc9c9b9c210e7e0c58ccfd9b (diff)
SwXStyle::getPropertyValue: don't try to read a float into a sal_Int32
The problem was that for the CharDiffHeight UNO property, SvxFontHeightItem::QueryValue() put a float to the returned uno::Any. When we noticed that it's not sal_Int16, we tried to read that into a sal_Int32 (which failed), and then wrote back the result to the uno::Any, that's how the result value was 0. Fix this by checking if reading the uno::Any into a sal_Int32 succeeds. Change-Id: Ie2269a24fe82ae241940811e7a2f5deaf9f1aeb0
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions