summaryrefslogtreecommitdiff
path: root/vcl/inc/win/salgdi.h
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-09-17 14:54:33 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2021-09-20 16:56:54 +0200
commit88b72d85ef82a5a6ca019ef9b88f5389db067c83 (patch)
tree6250617a894d1a1eb92d115bc4230d42ddc27d62 /vcl/inc/win/salgdi.h
parent8e2fb3b88a5ee00cb70fa7f8440b8f0b98ae4bc8 (diff)
tdf#124176 - Use pragma once instead of include guards
This patch is created in preparation of a patch I have queued to test and move PhysicalFontFace to vcl::font namespace. Change-Id: I805a8bd1fa881fc4bc6d2f26f1051b9247587701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122226 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/inc/win/salgdi.h')
-rw-r--r--vcl/inc/win/salgdi.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 959d8abc0301..b44fe42ca5e1 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_WIN_SALGDI_H
-#define INCLUDED_VCL_INC_WIN_SALGDI_H
+#pragma once
#include <sallayout.hxx>
#include <salgeom.hxx>
@@ -412,6 +411,4 @@ inline bool WinFontFace::HasChar( sal_uInt32 cChar ) const
return mxUnicodeMap->HasChar( cChar );
}
-#endif // INCLUDED_VCL_INC_WIN_SALGDI_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */