summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorKemal Ayhan <kemalayhan013@gmail.com>2019-12-19 01:48:45 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-20 20:56:37 +0100
commit0cc5185147402f6c5a4ff8e1256aa8348a04f75e (patch)
treecc8c1b82b194f42e3c5b96389acc3ac743ff5bb4 /scripting
parentd0b69965012a711c0b181bf359c8b27a782be2c3 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I4a045b450a5779bdd357a05a0efd4da7d521682d Reviewed-on: https://gerrit.libreoffice.org/85448 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/dlgprov/DialogModelProvider.hxx5
-rw-r--r--scripting/source/dlgprov/dlgevtatt.hxx6
-rw-r--r--scripting/source/dlgprov/dlgprov.hxx6
3 files changed, 3 insertions, 14 deletions
diff --git a/scripting/source/dlgprov/DialogModelProvider.hxx b/scripting/source/dlgprov/DialogModelProvider.hxx
index 7f938bc90ad1..d9a41ef64e86 100644
--- a/scripting/source/dlgprov/DialogModelProvider.hxx
+++ b/scripting/source/dlgprov/DialogModelProvider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SCRIPTING_SOURCE_DLGPROV_DIALOGMODELPROVIDER_HXX
-#define INCLUDED_SCRIPTING_SOURCE_DLGPROV_DIALOGMODELPROVIDER_HXX
+#pragma once
#include <sal/config.h>
#include <cppuhelper/factory.hxx>
@@ -85,6 +84,4 @@ private:
};
} // closing anonymous implementation namespace
-#endif // INCLUDED_SCRIPTING_SOURCE_DLGPROV_DIALOGMODELPROVIDER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx
index 73a60706556d..2adcd03baa7a 100644
--- a/scripting/source/dlgprov/dlgevtatt.hxx
+++ b/scripting/source/dlgprov/dlgevtatt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGEVTATT_HXX
-#define INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGEVTATT_HXX
+#pragma once
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/script/XAllListener.hpp>
@@ -128,7 +127,4 @@ namespace dlgprov
} // namespace dlgprov
-
-#endif // SCRIPTING_DLGEVT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/scripting/source/dlgprov/dlgprov.hxx b/scripting/source/dlgprov/dlgprov.hxx
index df3d37a7118c..fb5957619e08 100644
--- a/scripting/source/dlgprov/dlgprov.hxx
+++ b/scripting/source/dlgprov/dlgprov.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGPROV_HXX
-#define INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGPROV_HXX
+#pragma once
#include <com/sun/star/awt/XControl.hpp>
#include <com/sun/star/awt/XDialog.hpp>
@@ -156,7 +155,4 @@ css::uno::Sequence< OUString > _getSupportedServiceNames();
} // namespace comp_DialogModelProvider
-
-#endif // INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGPROV_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */