mirror of
https://github.com/LibreOffice/core.git
synced 2025-08-21 21:54:15 +00:00
tdf#143148 Use pragma once instead of include guards
Change-Id: I9df35198804cca98cd71c19fa4ef74fb6f47fd5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175013 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:

committed by
Ilmari Lauhakangas

parent
d0ffbb841a
commit
8e2369a781
@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_BASIC_SBXCORE_HXX
|
||||
#define INCLUDED_BASIC_SBXCORE_HXX
|
||||
#pragma once
|
||||
|
||||
#include <basic/basicdllapi.h>
|
||||
#include <basic/sbxdef.hxx>
|
||||
@ -132,6 +131,4 @@ inline bool SbxBase::IsHidden() const
|
||||
inline bool SbxBase::IsVisible() const
|
||||
{ return IsReset( SbxFlagBits::Invisible ); }
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -18,8 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#ifndef INCLUDED_BASIC_SBXDEF_HXX
|
||||
#define INCLUDED_BASIC_SBXDEF_HXX
|
||||
#pragma once
|
||||
|
||||
#include <o3tl/typed_flags_set.hxx>
|
||||
#include <sal/types.h>
|
||||
@ -214,6 +213,4 @@ constexpr auto SBX_MAXINDEX32 = SbxMAXLNG;
|
||||
// The numeric values of sal_True and FALSE
|
||||
enum SbxBOOL { SbxFALSE = 0, SbxTRUE = -1 };
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_BASIC_SBXMETH_HXX
|
||||
#define INCLUDED_BASIC_SBXMETH_HXX
|
||||
#pragma once
|
||||
|
||||
#include <basic/sbxvar.hxx>
|
||||
#include <basic/basicdllapi.h>
|
||||
@ -39,6 +38,4 @@ public:
|
||||
virtual void Clear() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_BASIC_SBXOBJ_HXX
|
||||
#define INCLUDED_BASIC_SBXOBJ_HXX
|
||||
#pragma once
|
||||
|
||||
#include <svl/lstner.hxx>
|
||||
#include <basic/sbxvar.hxx>
|
||||
@ -82,6 +81,4 @@ public:
|
||||
SAL_DLLPRIVATE void Dump( SvStream&, bool bDumpAll );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_BASIC_SBXOBJ_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_BASIC_SBXVAR_HXX
|
||||
#define INCLUDED_BASIC_SBXVAR_HXX
|
||||
#pragma once
|
||||
|
||||
#include <rtl/character.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
@ -331,6 +330,4 @@ public:
|
||||
virtual void SetParent(SbxObject* p) override;
|
||||
};
|
||||
|
||||
#endif // INCLUDED_BASIC_SBXVAR_HXX
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Reference in New Issue
Block a user