summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-18 09:39:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-18 11:12:10 +0100
commit640365974f84f4cc02d262bb6fb923bb278eeb69 (patch)
tree5cb40ece273b0c358b69d12abe813e267f5b38a4 /svx
parente457db4f9d2cfc14f71a5bb2260ee5a4c057d282 (diff)
coverity#706090 Unintended sign extension
Change-Id: Ibeb413fb6494434185efc13a10b61e84917545e7
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx
index 75cd2c673d13..42ccac0c994e 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -502,7 +502,7 @@ void SvxBmpNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
sal_uInt16 nItemId = rUDEvt.GetItemId();
Point aBLPos = aRect.TopLeft();
- int nRectHeight = aRect.GetHeight();
+ long nRectHeight = aRect.GetHeight();
Size aSize(nRectHeight/8, nRectHeight/8);
Graphic aGraphic;