summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorHarshit Jain <harshitjain1371999@gmail.com>2020-03-23 13:33:40 +0530
committerMuhammet Kara <muhammet.kara@collabora.com>2020-03-23 12:35:57 +0100
commitfd1cd5522283f279a01d6d673f676a1346e9358b (patch)
tree3f4703ea2e2e32c2db054a0922286d7f9618dbff /basctl
parent41dcf55d347d4f4810379148b2db0fb4a41d3465 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: Ia4a6b35a9a734e9fa1dc9dea702fc1ec370021f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90901 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/brkdlg.hxx5
-rw-r--r--basctl/source/basicide/documentenumeration.hxx6
-rw-r--r--basctl/source/basicide/iderdll2.hxx5
-rw-r--r--basctl/source/basicide/linenumberwindow.hxx6
4 files changed, 4 insertions, 18 deletions
diff --git a/basctl/source/basicide/brkdlg.hxx b/basctl/source/basicide/brkdlg.hxx
index c11f15c1ea98..c0db6576ca9a 100644
--- a/basctl/source/basicide/brkdlg.hxx
+++ b/basctl/source/basicide/brkdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BRKDLG_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_BRKDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include "breakpoint.hxx"
@@ -57,6 +56,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_BRKDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/documentenumeration.hxx b/basctl/source/basicide/documentenumeration.hxx
index 2dbe7b6621f3..381f2aaf867d 100644
--- a/basctl/source/basicide/documentenumeration.hxx
+++ b/basctl/source/basicide/documentenumeration.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_DOCUMENTENUMERATION_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_DOCUMENTENUMERATION_HXX
+#pragma once
#include <com/sun/star/frame/XController.hpp>
#include <memory>
@@ -90,7 +89,4 @@ namespace basctl { namespace docs {
} } // namespace basctl::docs
-
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_DOCUMENTENUMERATION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/iderdll2.hxx b/basctl/source/basicide/iderdll2.hxx
index 975811c769c3..99534119f815 100644
--- a/basctl/source/basicide/iderdll2.hxx
+++ b/basctl/source/basicide/iderdll2.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_IDERDLL2_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_IDERDLL2_HXX
+#pragma once
class StarBASIC;
class SvxSearchItem;
@@ -65,6 +64,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_IDERDLL2_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx
index 38cf6788fa7b..5e268c69254b 100644
--- a/basctl/source/basicide/linenumberwindow.hxx
+++ b/basctl/source/basicide/linenumberwindow.hxx
@@ -7,9 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_LINENUMBERWINDOW_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_LINENUMBERWINDOW_HXX
-
+#pragma once
#include <vcl/window.hxx>
@@ -45,6 +43,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_LINENUMBERWINDOW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */