summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorPelin Kuran <pelinrkuran@gmail.com>2020-01-27 14:38:22 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-27 21:44:04 +0100
commitf61ed40fff871a5b301b05c9d8e0755f16bf0a83 (patch)
treea64478c7bb82dd371fdcaf423570ee2834dc7534 /include/test
parentd23faf1d1ae526cc7af5470e60eb7dc7a46e74cc (diff)
tdf#124176: Use pragma once instead of header guard
Change-Id: Id28874549342349fb2727c3cb8e92da1dcdb727c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87513 Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com> Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/bootstrapfixture.hxx5
-rw-r--r--include/test/sheet/xdocumentauditing.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/include/test/bootstrapfixture.hxx b/include/test/bootstrapfixture.hxx
index 986ff1a7578f..e93a6a583b43 100644
--- a/include/test/bootstrapfixture.hxx
+++ b/include/test/bootstrapfixture.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_TEST_BOOTSTRAPFIXTURE_HXX
-#define INCLUDED_TEST_BOOTSTRAPFIXTURE_HXX
+#pragma once
#include <sal/config.h>
@@ -59,6 +58,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/test/sheet/xdocumentauditing.hxx b/include/test/sheet/xdocumentauditing.hxx
index 5c19446ca252..282db0226d58 100644
--- a/include/test/sheet/xdocumentauditing.hxx
+++ b/include/test/sheet/xdocumentauditing.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_TEST_SHEET_XDOCUMENTAUDITING_HXX
-#define INCLUDED_TEST_SHEET_XDOCUMENTAUDITING_HXX
+#pragma once
#include <com/sun/star/awt/Point.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
@@ -42,6 +41,4 @@ private:
};
} // namespace apitest
-#endif // INCLUDED_TEST_SHEET_XDOCUMENTAUDITING_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */