ucbhelper/source/client/activedatastreamer.hxx     |    5 +----
 ucbhelper/source/provider/contentinfo.hxx          |    5 +----
 ucbhelper/source/provider/simpleioerrorrequest.hxx |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit d022499adacdc753065d79af56608c034de07b5d
Author:     Simon Chenery <simon_chen...@yahoo.com>
AuthorDate: Sun Mar 16 16:44:49 2025 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Mon Mar 17 16:29:16 2025 +0100

    tdf#143148: Use pragma once instead of include guards in ucbhelper
    
    Change-Id: Ic6e59aa0d46f6acf47b4c327fafc6de9ceecd01f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183007
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/ucbhelper/source/client/activedatastreamer.hxx 
b/ucbhelper/source/client/activedatastreamer.hxx
index 84ee10ac96df..157fb6d1dbed 100644
--- a/ucbhelper/source/client/activedatastreamer.hxx
+++ b/ucbhelper/source/client/activedatastreamer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef UCBHELPER_SOURCE_CLIENT_ACTIVEDATASTREAMER_HXX
-#define UCBHELPER_SOURCE_CLIENT_ACTIVEDATASTREAMER_HXX
+#pragma once
 
 #include <com/sun/star/io/XActiveDataStreamer.hpp>
 #include <cppuhelper/implbase.hxx>
@@ -43,6 +42,4 @@ public:
 
 } /* namespace ucbhelper */
 
-#endif /* ! UCBHELPER_SOURCE_CLIENT_ACTIVEDATASTREAMER_HXX */
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucbhelper/source/provider/contentinfo.hxx 
b/ucbhelper/source/provider/contentinfo.hxx
index b24a291ccbf3..3ff996658032 100644
--- a/ucbhelper/source/provider/contentinfo.hxx
+++ b/ucbhelper/source/provider/contentinfo.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef UCBHELPER_SOURCE_PROVIDER_CONTENTINFO_HXX
-#define UCBHELPER_SOURCE_PROVIDER_CONTENTINFO_HXX
+#pragma once
 
 #include <optional>
 #include <com/sun/star/ucb/XCommandInfo.hpp>
@@ -114,6 +113,4 @@ public:
 
 } // namespace ucbhelper
 
-#endif /* ! UCBHELPER_SOURCE_PROVIDER_CONTENTINFO_HXX */
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucbhelper/source/provider/simpleioerrorrequest.hxx 
b/ucbhelper/source/provider/simpleioerrorrequest.hxx
index 134f10a9aa5e..13031d7c4fcf 100644
--- a/ucbhelper/source/provider/simpleioerrorrequest.hxx
+++ b/ucbhelper/source/provider/simpleioerrorrequest.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef UCBHELPER_SOURCE_PROVIDER_SIMPLEIOERRORREQUEST_HXX
-#define UCBHELPER_SOURCE_PROVIDER_SIMPLEIOERRORREQUEST_HXX
+#pragma once
 
 #include <com/sun/star/ucb/IOErrorCode.hpp>
 #include <ucbhelper/interactionrequest.hxx>
@@ -60,6 +59,4 @@ public:
 
 } // namespace ucbhelper
 
-#endif /* ! UCBHELPER_SOURCE_PROVIDER_SIMPLEIOERRORREQUEST_HXX */
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to