[Libreoffice-commits] core.git: scripting/source

Kemal Ayhan (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 20 19:58:00 UTC 2019


 scripting/source/dlgprov/DialogModelProvider.hxx |    5 +----
 scripting/source/dlgprov/dlgevtatt.hxx           |    6 +-----
 scripting/source/dlgprov/dlgprov.hxx             |    6 +-----
 3 files changed, 3 insertions(+), 14 deletions(-)

New commits:
commit 0cc5185147402f6c5a4ff8e1256aa8348a04f75e
Author:     Kemal Ayhan <kemalayhan013 at gmail.com>
AuthorDate: Thu Dec 19 01:48:45 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Fri Dec 20 20:56:37 2019 +0100

    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 at collabora.com>

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: */


More information about the Libreoffice-commits mailing list