summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorAleyna Doğrucan <aleynadgrcn699@gmail.com>2020-01-05 01:20:27 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-07 14:26:15 +0100
commit8b4aba14bb7ba98346b3ccd77c26dccda4cc1831 (patch)
treeba8842fd239f360b6772c3a7ef4cf707f9a1cf62 /basctl
parent86ffa73ed04900a33160cb6b28a8898fe139396d (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: Ib2c93eb61d8d4c944a1b7de074fd0e9e48715ca4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86232 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/macrodlg.hxx5
-rw-r--r--basctl/source/basicide/moduldlg.hxx5
-rw-r--r--basctl/source/basicide/unomodel.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx
index e6ce85ec3b00..58410363fb63 100644
--- a/basctl/source/basicide/macrodlg.hxx
+++ b/basctl/source/basicide/macrodlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_MACRODLG_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_MACRODLG_HXX
+#pragma once
#include <bastype2.hxx>
#include <sfx2/basedlgs.hxx>
@@ -104,6 +103,4 @@ public:
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_MACRODLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx
index 6e5bb3b237a0..fa636a5cdd41 100644
--- a/basctl/source/basicide/moduldlg.hxx
+++ b/basctl/source/basicide/moduldlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX
+#pragma once
#include <bastype2.hxx>
#include <vcl/weld.hxx>
@@ -216,6 +215,4 @@ void createLibImpl(weld::Window* pWin, const ScriptDocument& rDocument,
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx
index d75f40ca84f4..aab2481c2b36 100644
--- a/basctl/source/basicide/unomodel.hxx
+++ b/basctl/source/basicide/unomodel.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_BASICIDE_UNOMODEL_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
+#pragma once
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -66,6 +65,4 @@ css::uno::Reference< css::uno::XInterface > SIDEModel_createInstance(
} // namespace basctl
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */