summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-08-04 21:03:59 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-04 08:58:07 +0200
commitabea8319622848f2228fc9a2736a645b52ab617b (patch)
tree11364c5b60fce6d8592f53e984da83cc8bcfe54d /basctl
parentfb4ddf2fc997f3b0c193b6dce22a0b1313f24240 (diff)
tdf#124176 Use #pragma once in basctl
This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: I812869f1a7cb2ac3e9c97240abc456cd12afd0b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100121 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/inc/bitmaps.hlst5
-rw-r--r--basctl/inc/helpids.h5
-rw-r--r--basctl/source/inc/IDEComboBox.hxx5
-rw-r--r--basctl/source/inc/ObjectCatalog.hxx5
-rw-r--r--basctl/source/inc/accessibledialogwindow.hxx5
-rw-r--r--basctl/source/inc/basidectrlr.hxx5
-rw-r--r--basctl/source/inc/basidesh.hxx5
-rw-r--r--basctl/source/inc/basobj.hxx5
-rw-r--r--basctl/source/inc/bastype2.hxx5
-rw-r--r--basctl/source/inc/bastypes.hxx5
-rw-r--r--basctl/source/inc/dlged.hxx5
-rw-r--r--basctl/source/inc/dlgedclip.hxx5
-rw-r--r--basctl/source/inc/dlgeddef.hxx5
-rw-r--r--basctl/source/inc/dlgedfac.hxx5
-rw-r--r--basctl/source/inc/dlgedfunc.hxx5
-rw-r--r--basctl/source/inc/dlgedlist.hxx5
-rw-r--r--basctl/source/inc/dlgedmod.hxx5
-rw-r--r--basctl/source/inc/dlgedobj.hxx5
-rw-r--r--basctl/source/inc/dlgedpage.hxx5
-rw-r--r--basctl/source/inc/dlgedview.hxx5
-rw-r--r--basctl/source/inc/doceventnotifier.hxx5
-rw-r--r--basctl/source/inc/docsignature.hxx5
-rw-r--r--basctl/source/inc/iderid.hxx5
-rw-r--r--basctl/source/inc/layout.hxx5
-rw-r--r--basctl/source/inc/localizationmgr.hxx5
-rw-r--r--basctl/source/inc/managelang.hxx5
-rw-r--r--basctl/source/inc/propbrw.hxx5
-rw-r--r--basctl/source/inc/sbxitem.hxx5
-rw-r--r--basctl/source/inc/scriptdocument.hxx5
29 files changed, 29 insertions, 116 deletions
diff --git a/basctl/inc/bitmaps.hlst b/basctl/inc/bitmaps.hlst
index 997760aaf326..11d35b289d58 100644
--- a/basctl/inc/bitmaps.hlst
+++ b/basctl/inc/bitmaps.hlst
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_BASCTL_INC_BITMAPS_HRC
-#define INCLUDED_BASCTL_INC_BITMAPS_HRC
+#pragma once
#define RID_BMP_BRKENABLED "res/im30838.png"
#define RID_BMP_BRKDISABLED "res/im30839.png"
@@ -25,6 +24,4 @@
#define RID_BMP_DLGLIBNOTLOADED "res/dialogfoldernot_16.png"
#define RID_BMP_DIALOG "res/im30823.png"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/basctl/inc/helpids.h b/basctl/inc/helpids.h
index 1753df0a9ab5..13e59eb7ef88 100644
--- a/basctl/inc/helpids.h
+++ b/basctl/inc/helpids.h
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_INC_HELPIDS_H
-#define INCLUDED_BASCTL_INC_HELPIDS_H
+#pragma once
#define HID_BASICIDE_OBJECTCAT "BASCTL_HID_BASICIDE_OBJECTCAT"
@@ -35,6 +34,4 @@
#define HID_BASICIDE_WATCHWINDOW_LIST "BASCTL_HID_BASICIDE_WATCHWINDOW_LIST"
#define HID_BASICIDE_STACKWINDOW_LIST "BASCTL_HID_BASICIDE_STACKWINDOW_LIST"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/IDEComboBox.hxx b/basctl/source/inc/IDEComboBox.hxx
index 220a6f84b1f0..76d73cdf8eec 100644
--- a/basctl/source/inc/IDEComboBox.hxx
+++ b/basctl/source/inc/IDEComboBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BASICBOX_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_BASICBOX_HXX
+#pragma once
#include <svl/stritem.hxx>
#include <sfx2/tbxctrl.hxx>
@@ -273,6 +272,4 @@ private:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BASICBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/ObjectCatalog.hxx b/basctl/source/inc/ObjectCatalog.hxx
index 6ef3d639001b..a5b63eef424a 100644
--- a/basctl/source/inc/ObjectCatalog.hxx
+++ b/basctl/source/inc/ObjectCatalog.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_OBJDLG_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_OBJDLG_HXX
+#pragma once
#include "bastype2.hxx"
#include "bastypes.hxx"
@@ -58,6 +57,4 @@ private:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_OBJDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/accessibledialogwindow.hxx b/basctl/source/inc/accessibledialogwindow.hxx
index e8c2305b30a0..2c3a065247ac 100644
--- a/basctl/source/inc/accessibledialogwindow.hxx
+++ b/basctl/source/inc/accessibledialogwindow.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_ACCESSIBLEDIALOGWINDOW_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_ACCESSIBLEDIALOGWINDOW_HXX
+#pragma once
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -153,6 +152,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_ACCESSIBLEDIALOGWINDOW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/basidectrlr.hxx b/basctl/source/inc/basidectrlr.hxx
index 76049a5b3f37..7db0824df744 100644
--- a/basctl/source/inc/basidectrlr.hxx
+++ b/basctl/source/inc/basidectrlr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_BASIDECTRLR_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_BASIDECTRLR_HXX
+#pragma once
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/propertycontainer.hxx>
@@ -66,6 +65,4 @@ protected:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_BASIDECTRLR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx
index c89952c74b71..6f04b4269a2b 100644
--- a/basctl/source/inc/basidesh.hxx
+++ b/basctl/source/inc/basidesh.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_BASIDESH_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_BASIDESH_HXX
+#pragma once
#include "doceventnotifier.hxx"
#include "sbxitem.hxx"
@@ -216,6 +215,4 @@ public:
// because I don't know how to use nested names in it.
typedef basctl::Shell basctl_Shell;
-#endif // INCLUDED_BASCTL_SOURCE_INC_BASIDESH_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/basobj.hxx b/basctl/source/inc/basobj.hxx
index 3ff513a48ac8..d87eedf08297 100644
--- a/basctl/source/inc/basobj.hxx
+++ b/basctl/source/inc/basobj.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_BASOBJ_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_BASOBJ_HXX
+#pragma once
#include "scriptdocument.hxx"
@@ -103,6 +102,4 @@ namespace basctl
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_BASOBJ_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx
index 386a810b73cd..5325bb75c1c5 100644
--- a/basctl/source/inc/bastype2.hxx
+++ b/basctl/source/inc/bastype2.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_BASTYPE2_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_BASTYPE2_HXX
+#pragma once
#include <sal/config.h>
@@ -276,6 +275,4 @@ private:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_BASTYPE2_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index 2a09af077d8f..052bd2f420c7 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_BASTYPES_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_BASTYPES_HXX
+#pragma once
#include "scriptdocument.hxx"
@@ -310,6 +309,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_BASTYPES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx
index 6654b454a42d..8e6909d14a2a 100644
--- a/basctl/source/inc/dlged.hxx
+++ b/basctl/source/inc/dlged.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGED_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGED_HXX
+#pragma once
#include <com/sun/star/awt/XControlContainer.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
@@ -208,6 +207,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGED_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedclip.hxx b/basctl/source/inc/dlgedclip.hxx
index 289096721d52..0bb7a7416120 100644
--- a/basctl/source/inc/dlgedclip.hxx
+++ b/basctl/source/inc/dlgedclip.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDCLIP_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDCLIP_HXX
+#pragma once
#include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
#include <cppuhelper/implbase.hxx>
@@ -51,6 +50,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDCLIP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgeddef.hxx b/basctl/source/inc/dlgeddef.hxx
index 0c81b1402d0b..c19c3db282e1 100644
--- a/basctl/source/inc/dlgeddef.hxx
+++ b/basctl/source/inc/dlgeddef.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDDEF_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDDEF_HXX
+#pragma once
namespace basctl
{
@@ -83,6 +82,4 @@ enum
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDDEF_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedfac.hxx b/basctl/source/inc/dlgedfac.hxx
index 441b66336872..47587ac17e17 100644
--- a/basctl/source/inc/dlgedfac.hxx
+++ b/basctl/source/inc/dlgedfac.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDFAC_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDFAC_HXX
+#pragma once
#include <svx/svdobj.hxx>
#include <tools/link.hxx>
@@ -43,6 +42,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDFAC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedfunc.hxx b/basctl/source/inc/dlgedfunc.hxx
index 1d6e9efe6526..a3390db5b7c2 100644
--- a/basctl/source/inc/dlgedfunc.hxx
+++ b/basctl/source/inc/dlgedfunc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDFUNC_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDFUNC_HXX
+#pragma once
#include <vcl/event.hxx>
#include <vcl/timer.hxx>
@@ -86,6 +85,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDFUNC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedlist.hxx b/basctl/source/inc/dlgedlist.hxx
index a11e46087312..51e888975bfc 100644
--- a/basctl/source/inc/dlgedlist.hxx
+++ b/basctl/source/inc/dlgedlist.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDLIST_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDLIST_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
@@ -78,6 +77,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDLIST_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedmod.hxx b/basctl/source/inc/dlgedmod.hxx
index 0a99c6b8f030..9dfe50421b2c 100644
--- a/basctl/source/inc/dlgedmod.hxx
+++ b/basctl/source/inc/dlgedmod.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDMOD_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDMOD_HXX
+#pragma once
#include <svx/svdmodel.hxx>
@@ -47,6 +46,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDMOD_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx
index 906451e5cb04..37e5fc3209f3 100644
--- a/basctl/source/inc/dlgedobj.hxx
+++ b/basctl/source/inc/dlgedobj.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDOBJ_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDOBJ_HXX
+#pragma once
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
@@ -197,6 +196,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDOBJ_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedpage.hxx b/basctl/source/inc/dlgedpage.hxx
index e589a894ddf4..c532c2a12fff 100644
--- a/basctl/source/inc/dlgedpage.hxx
+++ b/basctl/source/inc/dlgedpage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDPAGE_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDPAGE_HXX
+#pragma once
#include <svx/svdpage.hxx>
@@ -54,6 +53,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDPAGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/dlgedview.hxx b/basctl/source/inc/dlgedview.hxx
index c194c1216d11..195dee840344 100644
--- a/basctl/source/inc/dlgedview.hxx
+++ b/basctl/source/inc/dlgedview.hxx
@@ -18,8 +18,7 @@
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDVIEW_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DLGEDVIEW_HXX
+#pragma once
#include <svx/svdview.hxx>
@@ -57,6 +56,4 @@ protected:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDVIEW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/doceventnotifier.hxx b/basctl/source/inc/doceventnotifier.hxx
index 664330d97733..25fd2a7a84ea 100644
--- a/basctl/source/inc/doceventnotifier.hxx
+++ b/basctl/source/inc/doceventnotifier.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DOCEVENTNOTIFIER_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DOCEVENTNOTIFIER_HXX
+#pragma once
#include <com/sun/star/frame/XModel.hpp>
@@ -80,6 +79,4 @@ namespace basctl
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DOCEVENTNOTIFIER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/docsignature.hxx b/basctl/source/inc/docsignature.hxx
index d2d6698f810e..5b4c454c077b 100644
--- a/basctl/source/inc/docsignature.hxx
+++ b/basctl/source/inc/docsignature.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_DOCSIGNATURE_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_DOCSIGNATURE_HXX
+#pragma once
#include <sfx2/signaturestate.hxx>
#include <vcl/weld.hxx>
@@ -73,6 +72,4 @@ namespace basctl
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_DOCSIGNATURE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/iderid.hxx b/basctl/source/inc/iderid.hxx
index 8724ccbb1891..7c49af0b16ea 100644
--- a/basctl/source/inc/iderid.hxx
+++ b/basctl/source/inc/iderid.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_IDERID_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_IDERID_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -29,6 +28,4 @@ OUString IDEResId(const char *pId);
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_IDERID_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/layout.hxx b/basctl/source/inc/layout.hxx
index 0857ccb82849..495afe4be4d5 100644
--- a/basctl/source/inc/layout.hxx
+++ b/basctl/source/inc/layout.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_LAYOUT_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_LAYOUT_HXX
+#pragma once
#include "bastypes.hxx"
#include <vcl/split.hxx>
@@ -129,6 +128,4 @@ private:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_LAYOUT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/localizationmgr.hxx b/basctl/source/inc/localizationmgr.hxx
index 230efa658eb1..4b72a7d8e58d 100644
--- a/basctl/source/inc/localizationmgr.hxx
+++ b/basctl/source/inc/localizationmgr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_LOCALIZATIONMGR_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_LOCALIZATIONMGR_HXX
+#pragma once
#include "scriptdocument.hxx"
@@ -145,6 +144,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_LOCALIZATIONMGR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/managelang.hxx b/basctl/source/inc/managelang.hxx
index d605be858ad7..722ec60c46ac 100644
--- a/basctl/source/inc/managelang.hxx
+++ b/basctl/source/inc/managelang.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_MANAGELANG_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_MANAGELANG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -95,6 +94,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_MANAGELANG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/propbrw.hxx b/basctl/source/inc/propbrw.hxx
index eb0f5be21eed..c9ad8034448d 100644
--- a/basctl/source/inc/propbrw.hxx
+++ b/basctl/source/inc/propbrw.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_PROPBRW_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_PROPBRW_HXX
+#pragma once
#include <sal/config.h>
@@ -83,6 +82,4 @@ private:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_PROPBRW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/sbxitem.hxx b/basctl/source/inc/sbxitem.hxx
index 1d70c5dc43db..e5f8d65d900f 100644
--- a/basctl/source/inc/sbxitem.hxx
+++ b/basctl/source/inc/sbxitem.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_SBXITEM_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_SBXITEM_HXX
+#pragma once
#include "scriptdocument.hxx"
#include <svl/poolitem.hxx>
@@ -63,6 +62,4 @@ public:
// For baside.sdi, because I don't know how to use nested names in it.
using basctl::SbxItem;
-#endif // INCLUDED_BASCTL_SOURCE_INC_SBXITEM_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/inc/scriptdocument.hxx b/basctl/source/inc/scriptdocument.hxx
index e03c66546a2e..6a0bfb2f0f62 100644
--- a/basctl/source/inc/scriptdocument.hxx
+++ b/basctl/source/inc/scriptdocument.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_INC_SCRIPTDOCUMENT_HXX
-#define INCLUDED_BASCTL_SOURCE_INC_SCRIPTDOCUMENT_HXX
+#pragma once
#include <com/sun/star/script/XLibraryContainer.hpp>
#include <com/sun/star/frame/XModel.hpp>
@@ -479,6 +478,4 @@ namespace basctl
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_INC_SCRIPTDOCUMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */