Kaydet (Commit) 1e46d2f6 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735504 Logically dead code

Change-Id: Idb3b2e4fe3ab67c65324de9625807808e1355cee
üst e05e38cb
......@@ -742,10 +742,6 @@ void Calendar::ImplDrawDate( long nX, long nY,
if ( bFocus )
HideFocus();
// get font
Font aOldFont = GetFont();
bool bBoldFont = false;
// display background
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
if ( bSel || bBack )
......@@ -794,9 +790,6 @@ void Calendar::ImplDrawDate( long nX, long nY,
if( mbDropPos && maDropDate == Date( nDay, nMonth, nYear ) )
ImplInvertDropPos();
if ( bBoldFont )
SetFont( aOldFont );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment