[Libreoffice-commits] core.git: include/comphelper include/dbaccess include/test
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 25 06:28:09 UTC 2020
include/comphelper/AccessibleImplementationHelper.hxx | 5 +----
include/dbaccess/AsynchronousLink.hxx | 4 +---
include/test/sheet/xarrayformularange.hxx | 5 +----
3 files changed, 3 insertions(+), 11 deletions(-)
New commits:
commit 6505f43b09fda83f26159746083b971bfab8054a
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Sep 24 12:55:55 2020 +0200
Commit: Andrea Gelmini <andrea.gelmini at gelma.net>
CommitDate: Fri Sep 25 08:27:22 2020 +0200
tdf#124176 Use #pragma once in some include/
switch to #pragma
It passed "make check" on Linux
Change-Id: Idb01cc7d4ccf404df82016b1b3356400320eb317
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103305
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Jenkins
diff --git a/include/comphelper/AccessibleImplementationHelper.hxx b/include/comphelper/AccessibleImplementationHelper.hxx
index 742c56f195bb..b6c8d9ab0d85 100644
--- a/include/comphelper/AccessibleImplementationHelper.hxx
+++ b/include/comphelper/AccessibleImplementationHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_COMPHELPER_ACESSIBLEIMPLEMENTATIONHELPER_HXX
-#define INCLUDED_COMPHELPER_ACESSIBLEIMPLEMENTATIONHELPER_HXX
+#pragma once
#include <comphelper/comphelperdllapi.h>
#include <rtl/ustring.hxx>
@@ -43,6 +42,4 @@ COMPHELPER_DLLPUBLIC OUString
GetkeyBindingStrByXkeyBinding(const css::uno::Sequence<css::awt::KeyStroke>& keySet);
}
-#endif // INCLUDED_COMPHELPER_ACESSIBLEIMPLEMENTATIONHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/include/dbaccess/AsynchronousLink.hxx b/include/dbaccess/AsynchronousLink.hxx
index c2779be5334a..0b63cbed957d 100644
--- a/include/dbaccess/AsynchronousLink.hxx
+++ b/include/dbaccess/AsynchronousLink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DBACCESS_ASYNCRONOUSLINK_HXX
-#define INCLUDED_DBACCESS_ASYNCRONOUSLINK_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <tools/link.hxx>
@@ -57,6 +56,5 @@ namespace dbaui
void CancelCall();
};
}
-#endif // INCLUDED_DBACCESS_ASYNCRONOUSLINK_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/test/sheet/xarrayformularange.hxx b/include/test/sheet/xarrayformularange.hxx
index 8f54f7097ba6..2529b8153fc5 100644
--- a/include/test/sheet/xarrayformularange.hxx
+++ b/include/test/sheet/xarrayformularange.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_TEST_SHEET_XARRAUFORMULARANGE_HXX
-#define INCLUDED_TEST_SHEET_XARRAUFORMULARANGE_HXX
+#pragma once
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/Reference.hxx>
@@ -30,6 +29,4 @@ protected:
};
} // namespace apitest
-#endif // INCLUDED_TEST_SHEET_XARRAUFORMULARANGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
More information about the Libreoffice-commits
mailing list