summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbxcore.hxx5
-rw-r--r--include/basic/sbxdef.hxx5
-rw-r--r--include/basic/sbxmeth.hxx5
-rw-r--r--include/basic/sbxobj.hxx5
-rw-r--r--include/basic/sbxvar.hxx5
5 files changed, 5 insertions, 20 deletions
diff --git a/include/basic/sbxcore.hxx b/include/basic/sbxcore.hxx
index 2fc27cf86efd..9cf0a2fc2b3e 100644
--- a/include/basic/sbxcore.hxx
+++ b/include/basic/sbxcore.hxx
@@ -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: */
diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx
index b0c667bfc854..00e9af8ba01a 100644
--- a/include/basic/sbxdef.hxx
+++ b/include/basic/sbxdef.hxx
@@ -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: */
diff --git a/include/basic/sbxmeth.hxx b/include/basic/sbxmeth.hxx
index 23ec6a00e5c9..b1c90d9a3654 100644
--- a/include/basic/sbxmeth.hxx
+++ b/include/basic/sbxmeth.hxx
@@ -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: */
diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx
index fbc8bbf9d70b..234d73d1b78b 100644
--- a/include/basic/sbxobj.hxx
+++ b/include/basic/sbxobj.hxx
@@ -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: */
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index cf18367d5430..b6aed459ca6c 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -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: */