summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 10:23:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:29 +0000
commit1e46d2f6077ec1c46e71c6d26f861cf912a63677 (patch)
tree47f9deb7b851a87916792f4e7a7a99c4da35f642 /svtools
parente05e38cbeaf77531227f77100ee1e1f0c8434cc0 (diff)
coverity#735504 Logically dead code
Change-Id: Idb3b2e4fe3ab67c65324de9625807808e1355cee
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/calendar.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index fcb6f9c781d4..076bf4db2a4c 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -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 );
}