summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorYakovlevAl <sanya89_muravlenko@mail.ru>2021-07-15 01:49:52 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-07-15 08:06:11 +0200
commit2a31c5dd37012de5a52dbbc08937401fc38434fb (patch)
treef50ad09df89ac18e2166cde72cd1339cd0881c41 /tools/inc
parent798d19c80853166042ce8a14edf4a25cd491d6aa (diff)
tdf#143148 Use pragma once instead of include guards
Switch to #pragma once Change-Id: Id5436aee3398fe2ee0fecd125cb1e7f71e587c88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118962 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'tools/inc')
-rw-r--r--tools/inc/poly.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/inc/poly.h b/tools/inc/poly.h
index 3de1374efd94..64885ac29762 100644
--- a/tools/inc/poly.h
+++ b/tools/inc/poly.h
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_TOOLS_INC_POLY_H
-#define INCLUDED_TOOLS_INC_POLY_H
+#pragma once
#include <sal/types.h>
#include <memory>
@@ -81,6 +80,4 @@ struct ImplPolyPolygon
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */