diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-09-14 00:17:06 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-08 19:22:59 +0200 |
commit | 3f5fb07565d0e08773ddfcda4d5acbb1446aa2f2 (patch) | |
tree | c0830ab69aac8f1424e6788448bb68690883ab9e /vcl/source/app/svmain.cxx | |
parent | 677434a572b8f07a386937b2f7edf2e9b801bbd0 (diff) |
vcl: test PhysicalFontCollection and move to vcl::font namespace
- tested PhysicalFontCollection, noted odd behaviour with search names
and normalization
- moved PhysicalFontCollection.hxx to vcl/inc/font
- moved PhysicalFontCollection into vcl::font namespace
Note that I needed to regenerate the pch file otherwise errors were
generated.
Change-Id: Ifa0c7b871c40687bd15002565d2f7a3e408218f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122036
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/source/app/svmain.cxx')
-rw-r--r-- | vcl/source/app/svmain.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index d3559ed029bd..30169e7428c1 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -73,7 +73,7 @@ #include <vcl/svmain.hxx> #include <dbggui.hxx> #include <accmgr.hxx> -#include <PhysicalFontCollection.hxx> +#include <font/PhysicalFontCollection.hxx> #include <print.h> #include <salsys.hxx> #include <saltimer.hxx> @@ -361,7 +361,7 @@ bool InitVCL() pSVData->maAppData.mxAppFileName = aNativeFileName; // Initialize global data - pSVData->maGDIData.mxScreenFontList = std::make_shared<PhysicalFontCollection>(); + pSVData->maGDIData.mxScreenFontList = std::make_shared<vcl::font::PhysicalFontCollection>(); pSVData->maGDIData.mxScreenFontCache = std::make_shared<ImplFontCache>(); pSVData->maGDIData.mxGrfConverter.reset(new GraphicConverter); |