summaryrefslogtreecommitdiff
path: root/vcl/source/control/prgsbar.cxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-05-22 17:13:31 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2019-05-22 23:01:07 +0200
commit4a149da412dc72fa92c944edc91cc96eb7267636 (patch)
treeacf89b14caec21d97a39e242bae36d0ab7f3af7e /vcl/source/control/prgsbar.cxx
parentcc223fa12a61ba0e580b884386a7f5d7efd0541f (diff)
VCL replace some code with common function calls
Replaces some code with calls to ApplyControlForeground and ApplyControlFont. Change-Id: I16837ad7c48ed46fa48b1f2a33a84c7e94f63482 Reviewed-on: https://gerrit.libreoffice.org/72789 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/source/control/prgsbar.cxx')
-rw-r--r--vcl/source/control/prgsbar.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index 08a0296dacdb..61ba2b67a1fe 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -65,13 +65,7 @@ void ProgressBar::ImplInitSettings( bool bFont,
/* FIXME: !!! We do not support text output at the moment
if ( bFont )
- {
- Font aFont;
- aFont = rStyleSettings.GetAppFont();
- if ( IsControlFont() )
- aFont.Merge( GetControlFont() );
- SetZoomedPointFont( aFont );
- }
+ ApplyControlFont(*this, rStyleSettings.GetAppFont());
*/
if ( bBackground )