diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-18 09:39:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-18 11:12:10 +0100 |
commit | 640365974f84f4cc02d262bb6fb923bb278eeb69 (patch) | |
tree | 5cb40ece273b0c358b69d12abe813e267f5b38a4 /svx | |
parent | e457db4f9d2cfc14f71a5bb2260ee5a4c057d282 (diff) |
coverity#706090 Unintended sign extension
Change-Id: Ibeb413fb6494434185efc13a10b61e84917545e7
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/svxbmpnumvalueset.cxx | 2 |
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; |