summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-09-16 12:46:23 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2021-09-18 05:51:17 +0200
commit83070c694c742ef1e86e017a5e684e72b23bf3c9 (patch)
treeddc7b54f05b91c0278194de121c9984e6baa0cf4 /vcl
parentc5aef25352d20e052ec3a697f3cb979d3bbf9df6 (diff)
tdf#124176 - Use pragma once instead of include guards
I have a patch queued to rename ImplDeviceFontList to PhysicalFontFaceCollection, which I am adding a test to. Submitting patch to update the include guards to pragma once Change-Id: I091817905599089edec1138eeee06ba3dacd6964 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122225 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/PhysicalFontCollection.hxx5
-rw-r--r--vcl/inc/PhysicalFontFamily.hxx5
-rw-r--r--vcl/inc/outdev.h5
3 files changed, 3 insertions, 12 deletions
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx
index 8af07e2883cf..89d6fdf222e8 100644
--- a/vcl/inc/PhysicalFontCollection.hxx
+++ b/vcl/inc/PhysicalFontCollection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_PHYSICALFONTCOLLECTION_HXX
-#define INCLUDED_VCL_INC_PHYSICALFONTCOLLECTION_HXX
+#pragma once
#include <vcl/dllapi.h>
@@ -91,6 +90,4 @@ private:
};
-#endif // INCLUDED_VCL_INC_PHYSICALFONTCOLLECTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/vcl/inc/PhysicalFontFamily.hxx b/vcl/inc/PhysicalFontFamily.hxx
index 5c2ae12f24c8..f883d383be54 100644
--- a/vcl/inc/PhysicalFontFamily.hxx
+++ b/vcl/inc/PhysicalFontFamily.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_PHYSICALFONTFAMILY_HXX
-#define INCLUDED_VCL_INC_PHYSICALFONTFAMILY_HXX
+#pragma once
#include <vcl/dllapi.h>
#include <vcl/outdev.hxx>
@@ -96,6 +95,4 @@ private:
FontWidth meMatchWidth; // MATCH - Width
};
-#endif // INCLUDED_VCL_INC_PHYSICALFONTFAMILY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/vcl/inc/outdev.h b/vcl/inc/outdev.h
index 8746d790eb62..16871789bb22 100644
--- a/vcl/inc/outdev.h
+++ b/vcl/inc/outdev.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_OUTDEV_H
-#define INCLUDED_VCL_INC_OUTDEV_H
+#pragma once
#include <set>
#include <vector>
@@ -139,6 +138,4 @@ struct ImplOutDevData
void ImplFontSubstitute( OUString& rFontName );
-#endif // INCLUDED_VCL_INC_OUTDEV_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */