From 74314b11a4b5a2887bd1ff19bdcfb3572b09240c Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 29 Nov 2016 08:34:29 +0200 Subject: Drop a bunch of font metrics flags These flags mean nothing these days, there are either always true or always false, since we no longer support bitmap or Type 1 fonts. Change-Id: Ie14ca480225a6346d868a44e58e7666c3a06931d Reviewed-on: https://gerrit.libreoffice.org/31346 Tested-by: Jenkins Reviewed-by: Khaled Hosny --- sd/source/ui/animations/CustomAnimationDialog.cxx | 2 +- sd/source/ui/docshell/docshel4.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source') diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 6726317d95ba..ba060291e355 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -277,7 +277,7 @@ FontPropertyBox::FontPropertyBox( sal_Int32 nControlType, vcl::Window* pParent, if(!pFontList) { - pFontList = new FontList( Application::GetDefaultDevice(), nullptr, false ); + pFontList = new FontList(Application::GetDefaultDevice(), nullptr); bMustDelete = true; } diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx index b3b6bd475fa8..8ef22287baa0 100644 --- a/sd/source/ui/docshell/docshel4.cxx +++ b/sd/source/ui/docshell/docshel4.cxx @@ -163,7 +163,7 @@ void DrawDocShell::UpdateFontList() pRefDevice = GetPrinter(true); else pRefDevice = SD_MOD()->GetVirtualRefDevice(); - mpFontList = new FontList( pRefDevice, nullptr, false ); + mpFontList = new FontList(pRefDevice, nullptr); SvxFontListItem aFontListItem( mpFontList, SID_ATTR_CHAR_FONTLIST ); PutItem( aFontListItem ); } -- cgit v1.2.3