[Libreoffice-commits] core.git: tools/inc
mariamfahmy (via logerrit)
logerrit at kemper.freedesktop.org
Sat Oct 17 08:42:12 UTC 2020
tools/inc/systemdatetime.hxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit e7eaa66d4de5d3c634e8a148f8838276d539546c
Author: mariamfahmy <mariamfahmy66 at gmail.com>
AuthorDate: Fri Oct 16 17:22:53 2020 +0200
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Sat Oct 17 10:41:33 2020 +0200
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 at libreoffice.org>
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: */
More information about the Libreoffice-commits
mailing list