summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-21 10:19:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-21 13:59:34 +0100
commitd4758e6f699259e865426fd761c58009d3eca7d1 (patch)
tree7e8b60f2c02fb947c05c0e6cd7ff511565e7b1b3 /vcl
parentcoverity#706101 Unintended sign extension (diff)
downloadcore-d4758e6f699259e865426fd761c58009d3eca7d1.tar.gz
core-d4758e6f699259e865426fd761c58009d3eca7d1.zip
coverity#706084 Unintended sign extension
and coverity#706085 Unintended sign extension Change-Id: I4bb617cd6927542dfef6dea89c5417ec4f9ed495
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/texteng.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 65feb242e8af..c020ef0aded1 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -203,7 +203,7 @@ void TextEngine::SetFont( const Font& rFont )
mnDefTab = (sal_uInt16)aTextSize.Width();
if ( !mnDefTab )
mnDefTab = 1;
- mnCharHeight = (sal_uInt16)aTextSize.Height();
+ mnCharHeight = aTextSize.Height();
mnFixCharWidth100 = 0;
FormatFullDoc();