summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorEfdal İncesu <efdal_incesu@hotmail.com>2020-01-25 16:24:28 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-25 18:58:16 +0100
commit99c5669b4f54a3e55625ec0896852ed4154d2765 (patch)
tree8bde98e978c8729a81fc6a0b94c7d344f45699fb /test/source
parente44c4d7a7b1037d8a67325feefc4a22e6d0bd6be (diff)
tdf#124176: Use pragma once instead of include guard
Change-Id: Ic525a57880067fc589346b87237c08fae4644ac5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87403 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'test/source')
-rw-r--r--test/source/isheadless.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/source/isheadless.hxx b/test/source/isheadless.hxx
index 8a3e81e6ee72..c9f22232bd15 100644
--- a/test/source/isheadless.hxx
+++ b/test/source/isheadless.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_TEST_SOURCE_ISHEADLESS_HXX
-#define INCLUDED_TEST_SOURCE_ISHEADLESS_HXX
+#pragma once
#include <sal/config.h>
@@ -32,6 +31,4 @@ inline bool isHeadless() {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */