tdf#143148: Use pragma once instead of include guards

Change-Id: Id648d25e47034e209b291bf73ac4878226b4e755
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175105
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
MelvinYG 2024-10-18 03:21:27 +05:30 committed by Ilmari Lauhakangas
parent e74b731c80
commit 4298833106
3 changed files with 3 additions and 12 deletions

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_BASIC_SBMETH_HXX
#define INCLUDED_BASIC_SBMETH_HXX
#pragma once
#include <comphelper/errcode.hxx>
#include <basic/sbxmeth.hxx>
@ -83,6 +82,4 @@ public:
{ return mxImplMeth.get(); }
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_BASIC_SBMOD_HXX
#define INCLUDED_BASIC_SBMOD_HXX
#pragma once
#include <config_options.h>
#include <basic/sbdef.hxx>
@ -165,6 +164,4 @@ public:
void triggerTerminateEvent();
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_BASIC_SBSTAR_HXX
#define INCLUDED_BASIC_SBSTAR_HXX
#pragma once
#include <basic/sbx.hxx>
#include <basic/sbxobj.hxx>
@ -153,6 +152,4 @@ public:
typedef tools::SvRef<StarBASIC> StarBASICRef;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */