summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-24 12:55:55 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-25 08:27:22 +0200
commit6505f43b09fda83f26159746083b971bfab8054a (patch)
tree80b19f17f0200593a0abfc0bba123f075e347f38
parent094e84bcebd2fb0669e6bfccd0c589e719cbf517 (diff)
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@yahoo.fr> Tested-by: Jenkins
-rw-r--r--include/comphelper/AccessibleImplementationHelper.hxx5
-rw-r--r--include/dbaccess/AsynchronousLink.hxx4
-rw-r--r--include/test/sheet/xarrayformularange.hxx5
3 files changed, 3 insertions, 11 deletions
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: */