summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 08:28:23 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 10:54:09 +0100
commit1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 (patch)
treed4dd124d4dbc0b12703b12d4eb945d11c063c297 /unoidl
parent039e90ec011157c9e851221a53ec62d33acb71d1 (diff)
tdf#124176 Use pragma once in u*
ucb, uno*, uui Change-Id: Ic4b6d541eb0df8bf7bceddf178ebb5177ad2b87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112046 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourceprovider-scanner.hxx5
-rw-r--r--unoidl/source/sourcetreeprovider.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/unoidl/source/sourceprovider-scanner.hxx b/unoidl/source/sourceprovider-scanner.hxx
index afd8b2e79b12..2d33c39cbf25 100644
--- a/unoidl/source/sourceprovider-scanner.hxx
+++ b/unoidl/source/sourceprovider-scanner.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UNOIDL_SOURCE_SOURCEPROVIDER_SCANNER_HXX
-#define INCLUDED_UNOIDL_SOURCE_SOURCEPROVIDER_SCANNER_HXX
+#pragma once
#include <sal/config.h>
@@ -325,6 +324,4 @@ int yylex(YYSTYPE * yylval_param, YYLTYPE * yylloc_param, yyscan_t yyscanner);
unoidl::detail::SourceProviderScannerData * yyget_extra(yyscan_t yyscanner);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoidl/source/sourcetreeprovider.hxx b/unoidl/source/sourcetreeprovider.hxx
index e98ee7383fad..3318a6dee02b 100644
--- a/unoidl/source/sourcetreeprovider.hxx
+++ b/unoidl/source/sourcetreeprovider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_UNOIDL_SOURCE_SOURCETREEPROVIDER_HXX
-#define INCLUDED_UNOIDL_SOURCE_SOURCETREEPROVIDER_HXX
+#pragma once
#include <sal/config.h>
@@ -40,6 +39,4 @@ private:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */