summaryrefslogtreecommitdiff
path: root/chart2/source/controller/drawinglayer
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-11-29 08:34:29 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-11-29 13:38:48 +0000
commit74314b11a4b5a2887bd1ff19bdcfb3572b09240c (patch)
tree1683bdd2da904ca935d1bc1077f127a2715399ff /chart2/source/controller/drawinglayer
parent63ca9554f24194521cfbc7fa90bfef37ea7759c1 (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>
Diffstat (limited to 'chart2/source/controller/drawinglayer')
-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 9ff91385bc97..d68ea08bb23b 100644
--- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
+++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
@@ -185,8 +185,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;
}