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
This commit is contained in:
Andrea Gelmini 2020-09-24 12:55:55 +02:00
parent 094e84bceb
commit 6505f43b09
3 changed files with 3 additions and 11 deletions

View file

@ -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: */

View file

@ -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: */

View file

@ -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: */