From d4758e6f699259e865426fd761c58009d3eca7d1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 21 Jul 2014 10:19:34 +0100 Subject: coverity#706084 Unintended sign extension and coverity#706085 Unintended sign extension Change-Id: I4bb617cd6927542dfef6dea89c5417ec4f9ed495 --- vcl/source/edit/texteng.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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(); -- cgit