summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormariamfahmy <mariamfahmy66@gmail.com>2020-10-16 17:22:53 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2020-10-17 10:41:33 +0200
commite7eaa66d4de5d3c634e8a148f8838276d539546c (patch)
tree12c11389d1953a5d97641455bd288a657818e400 /tools
parentcfe5a5044845a3fc90e3634e996edb4d85808d3c (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I9d5fe8d61286c2fe167d4733c36e1fc3976d0b43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104446 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/systemdatetime.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/inc/systemdatetime.hxx b/tools/inc/systemdatetime.hxx
index 29306112a311..1b04e26adee3 100644
--- a/tools/inc/systemdatetime.hxx
+++ b/tools/inc/systemdatetime.hxx
@@ -6,9 +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_TOOLS_INC_SYSTEMDATETIME_H
-#define INCLUDED_TOOLS_INC_SYSTEMDATETIME_H
-
+#pragma once
#include <sal/types.h>
constexpr sal_Int64 SEC_MASK = SAL_CONST_INT64(1000000000);
@@ -21,6 +19,4 @@ constexpr sal_Int64 HOUR_MASK = SAL_CONST_INT64(10000000000000);
*/
bool GetSystemDateTime(sal_Int32* pDate, sal_Int64* pTime);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */