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

mariamfahmy (via logerrit) logerrit at kemper.freedesktop.org
Sun Oct 18 08:25:18 UTC 2020


 unoidl/source/legacyprovider.hxx                 |    5 +----
 unoidl/source/sourcefileprovider.hxx             |    5 +----
 unoidl/source/sourceprovider-parser-requires.hxx |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit 8feb66ac2f08a2fde2567d2c358aab53b3e42c48
Author:     mariamfahmy <mariamfahmy66 at gmail.com>
AuthorDate: Sat Oct 17 13:49:04 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Oct 18 10:24:35 2020 +0200

    tdf#124176: Using pragma once
    
    Change-Id: I634d2eebfa71ebdbe6dc334f3bc29e70a06a94ec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104461
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/unoidl/source/legacyprovider.hxx b/unoidl/source/legacyprovider.hxx
index ffee1affb7d0..41310ecdee70 100644
--- a/unoidl/source/legacyprovider.hxx
+++ b/unoidl/source/legacyprovider.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_UNOIDL_SOURCE_LEGACYPROVIDER_HXX
-#define INCLUDED_UNOIDL_SOURCE_LEGACYPROVIDER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -39,6 +38,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoidl/source/sourcefileprovider.hxx b/unoidl/source/sourcefileprovider.hxx
index bb3403b2d0d9..4229301ded50 100644
--- a/unoidl/source/sourcefileprovider.hxx
+++ b/unoidl/source/sourcefileprovider.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_UNOIDL_SOURCE_SOURCEFILEPROVIDER_HXX
-#define INCLUDED_UNOIDL_SOURCE_SOURCEFILEPROVIDER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -39,6 +38,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unoidl/source/sourceprovider-parser-requires.hxx b/unoidl/source/sourceprovider-parser-requires.hxx
index 8bfb10a823c5..52b8c79e2a93 100644
--- a/unoidl/source/sourceprovider-parser-requires.hxx
+++ b/unoidl/source/sourceprovider-parser-requires.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_UNOIDL_SOURCE_SOURCEPROVIDER_PARSER_REQUIRES_HXX
-#define INCLUDED_UNOIDL_SOURCE_SOURCEPROVIDER_PARSER_REQUIRES_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -135,6 +134,4 @@ struct SourceProviderType {
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list