include/vcl/metric.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit e9f59e76292f815faefa4ca3877d3aacdad3be5a Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Thu Sep 16 16:02:15 2021 +1000 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sat Sep 18 15:13:27 2021 +0200 tdf#124176 - Use pragma once instead of include guards I have a patch queued to be able to create a FontMetric from a PhysicalFontFace. Submitting this patch so I can hopefully one day land this patch. Change-Id: I69b980d76f3e104a1784e2bd630a710deb33f8f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122171 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index 5af0629950de..1c0fcd70ef87 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_VCL_METRIC_HXX -#define INCLUDED_VCL_METRIC_HXX +#pragma once #include <tools/ref.hxx> #include <tools/gen.hxx> @@ -94,6 +93,4 @@ inline std::basic_ostream<charT, traits> & operator <<( return stream; } -#endif // INCLUDED_VCL_METRIC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */