stoc/source/corereflection/base.hxx     |    6 +-----
 stoc/source/corereflection/lrucache.hxx |    7 ++-----
 2 files changed, 3 insertions(+), 10 deletions(-)

New commits:
commit 370755c72d0b0a5215d2edd45e30782b1e9d0286
Author:     Mohit Marathe <mohitmarath...@gmail.com>
AuthorDate: Wed Mar 20 19:24:59 2024 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Thu Mar 21 16:32:54 2024 +0100

    tdf#143148 Use #pragma once instead of include guards
    
    Change-Id: Ia55d226aa308413365659b5537eca7a136ec308a
    Signed-off-by: Mohit Marathe <mohitmara...@proton.me>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165064
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/stoc/source/corereflection/base.hxx 
b/stoc/source/corereflection/base.hxx
index 03d844de3cc9..316b388d20bb 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -18,8 +18,7 @@
  */
 //  #define TEST_LIST_CLASSES
 
-#ifndef INCLUDED_STOC_SOURCE_COREREFLECTION_BASE_HXX
-#define INCLUDED_STOC_SOURCE_COREREFLECTION_BASE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -400,7 +399,4 @@ inline bool coerce_assign(
 
 }
 
-
-#endif // INCLUDED_STOC_SOURCE_COREREFLECTION_BASE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stoc/source/corereflection/lrucache.hxx 
b/stoc/source/corereflection/lrucache.hxx
index d5eebe804f46..a0413fd353a3 100644
--- a/stoc/source/corereflection/lrucache.hxx
+++ b/stoc/source/corereflection/lrucache.hxx
@@ -16,8 +16,8 @@
  *   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_STOC_SOURCE_COREREFLECTION_LRUCACHE_HXX
-#define INCLUDED_STOC_SOURCE_COREREFLECTION_LRUCACHE_HXX
+
+#pragma once
 
 // __CACHE_DIAGNOSE forces cache size to 4 and works only for OUString keys
 //  #define __CACHE_DIAGNOSE 1
@@ -203,7 +203,4 @@ inline void LRU_Cache< t_Key, t_Val, t_KeyHash >::clear()
 typedef LRU_Cache< OUString, css::uno::Any, OUStringHash >
     LRU_CacheAnyByOUString;
 
-
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to