coverity#735504 Logically dead code
Change-Id: Idb3b2e4fe3ab67c65324de9625807808e1355cee
This commit is contained in:
parent
e05e38cbea
commit
1e46d2f607
@ -742,10 +742,6 @@ void Calendar::ImplDrawDate( long nX, long nY,
|
|||||||
if ( bFocus )
|
if ( bFocus )
|
||||||
HideFocus();
|
HideFocus();
|
||||||
|
|
||||||
// get font
|
|
||||||
Font aOldFont = GetFont();
|
|
||||||
bool bBoldFont = false;
|
|
||||||
|
|
||||||
// display background
|
// display background
|
||||||
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
|
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
|
||||||
if ( bSel || bBack )
|
if ( bSel || bBack )
|
||||||
@ -794,9 +790,6 @@ void Calendar::ImplDrawDate( long nX, long nY,
|
|||||||
|
|
||||||
if( mbDropPos && maDropDate == Date( nDay, nMonth, nYear ) )
|
if( mbDropPos && maDropDate == Date( nDay, nMonth, nYear ) )
|
||||||
ImplInvertDropPos();
|
ImplInvertDropPos();
|
||||||
|
|
||||||
if ( bBoldFont )
|
|
||||||
SetFont( aOldFont );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user