summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-11-29 08:34:29 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:08:22 -0500
commita4352bd95e7a4e894df552336554909b5ac25a83 (patch)
tree35a7bb60e0a35e91d483114bd3e2505a2d2aa656 /chart2
parent297fce55c46b772c835d3d8fc4f9dd678fa821df (diff)
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 <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> (cherry picked from commit 74314b11a4b5a2887bd1ff19bdcfb3572b09240c) (cherry picked from commit 40b1cadc63523a3b3269838748f47d5ac251877e)
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/drawinglayer/ViewElementListProvider.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
index a4af2d83ff33..bebf04e8db03 100644
--- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
+++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
@@ -192,8 +192,7 @@ FontList* ViewElementListProvider::getFontList() const
OutputDevice* pRefDev = m_pDrawModelWrapper ? m_pDrawModelWrapper->getReferenceDevice() : nullptr;
OutputDevice* pDefaultOut = Application::GetDefaultDevice();
m_pFontList = new FontList( pRefDev ? pRefDev : pDefaultOut
- , pRefDev ? pDefaultOut : nullptr
- , false );
+ , pRefDev ? pDefaultOut : nullptr);
}
return m_pFontList;
}