summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-20 13:36:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-21 11:27:38 +0100
commitc57ba94721a152db405716753a15c870401c3a63 (patch)
tree58e260fe30ff9b866a3179ec9235760f671ce1d4 /reportdesign
parente3ef9bebf69479ead10a10a9a25d866321970edb (diff)
drop confusing and unused single font setters
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/Condition.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx
index a5d55fbe6278..10520e343f50 100644
--- a/reportdesign/source/ui/dlg/Condition.cxx
+++ b/reportdesign/source/ui/dlg/Condition.cxx
@@ -674,7 +674,7 @@ void Condition::updateToolbar(const uno::Reference< report::XReportControlFormat
aFont.SetEmphasisMark( static_cast< FontEmphasisMark >( _xReportControlFormat->getControlTextEmphasis() ) );
aFont.SetRelief( static_cast< FontRelief >( _xReportControlFormat->getCharRelief() ) );
aFont.SetColor( _xReportControlFormat->getCharColor() );
- m_aPreview.SetFont( aFont );
+ m_aPreview.SetFont( aFont, aFont, aFont );
m_aPreview.SetBackColor( _xReportControlFormat->getControlBackground() );
m_aPreview.SetTextLineColor( Color( _xReportControlFormat->getCharUnderlineColor() ) );
}