summaryrefslogtreecommitdiff
path: root/unoidl/source
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/source')
-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: */