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

George Bateman (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 4 06:59:35 UTC 2020


 binaryurp/source/binaryany.hxx          |    5 +----
 binaryurp/source/bridge.hxx             |    5 +----
 binaryurp/source/bridgefactory.hxx      |    5 +----
 binaryurp/source/cache.hxx              |    5 +----
 binaryurp/source/currentcontext.hxx     |    5 +----
 binaryurp/source/incomingreply.hxx      |    5 +----
 binaryurp/source/incomingrequest.hxx    |    5 +----
 binaryurp/source/lessoperators.hxx      |    5 +----
 binaryurp/source/marshal.hxx            |    5 +----
 binaryurp/source/outgoingrequest.hxx    |    5 +----
 binaryurp/source/outgoingrequests.hxx   |    5 +----
 binaryurp/source/proxy.hxx              |    5 +----
 binaryurp/source/reader.hxx             |    5 +----
 binaryurp/source/readerstate.hxx        |    5 +----
 binaryurp/source/specialfunctionids.hxx |    5 +----
 binaryurp/source/unmarshal.hxx          |    5 +----
 binaryurp/source/writer.hxx             |    5 +----
 binaryurp/source/writerstate.hxx        |    5 +----
 18 files changed, 18 insertions(+), 72 deletions(-)

New commits:
commit 5381af18b6c5e75b37bdc81d69f376cfedaaf641
Author:     George Bateman <george.bateman16 at gmail.com>
AuthorDate: Tue Aug 4 21:11:28 2020 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Sep 4 08:58:54 2020 +0200

    tdf#124176 Use #pragma once in binaryurp
    
    This commit was carried out by a Python script, source of which
    is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.
    
    Change-Id: I7141f07eca2b8338be6bd6b24580256cda6ba092
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100129
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/binaryurp/source/binaryany.hxx b/binaryurp/source/binaryany.hxx
index 8422ca1ac424..fdf52216a154 100644
--- a/binaryurp/source/binaryany.hxx
+++ b/binaryurp/source/binaryany.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_BINARYANY_HXX
-#define INCLUDED_BINARYURP_SOURCE_BINARYANY_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -64,6 +63,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/bridge.hxx b/binaryurp/source/bridge.hxx
index d6528a3f115b..f3a6badd2283 100644
--- a/binaryurp/source/bridge.hxx
+++ b/binaryurp/source/bridge.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_BRIDGE_HXX
-#define INCLUDED_BINARYURP_SOURCE_BRIDGE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -278,6 +277,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/bridgefactory.hxx b/binaryurp/source/bridgefactory.hxx
index 1470dc2c28bd..59023896010b 100644
--- a/binaryurp/source/bridgefactory.hxx
+++ b/binaryurp/source/bridgefactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_BRIDGEFACTORY_HXX
-#define INCLUDED_BINARYURP_SOURCE_BRIDGEFACTORY_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -113,6 +112,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/cache.hxx b/binaryurp/source/cache.hxx
index 722e7494bd8e..bd8648efdee8 100644
--- a/binaryurp/source/cache.hxx
+++ b/binaryurp/source/cache.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_CACHE_HXX
-#define INCLUDED_BINARYURP_SOURCE_CACHE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -93,6 +92,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/currentcontext.hxx b/binaryurp/source/currentcontext.hxx
index 95600e62d713..a7a99cf4fec9 100644
--- a/binaryurp/source/currentcontext.hxx
+++ b/binaryurp/source/currentcontext.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_CURRENTCONTEXT_HXX
-#define INCLUDED_BINARYURP_SOURCE_CURRENTCONTEXT_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -32,6 +31,4 @@ void set(com::sun::star::uno::UnoInterfaceReference const & value);
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/incomingreply.hxx b/binaryurp/source/incomingreply.hxx
index 058d0edf8c47..b1ff6cb4d2eb 100644
--- a/binaryurp/source/incomingreply.hxx
+++ b/binaryurp/source/incomingreply.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_INCOMINGREPLY_HXX
-#define INCLUDED_BINARYURP_SOURCE_INCOMINGREPLY_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -49,6 +48,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/incomingrequest.hxx b/binaryurp/source/incomingrequest.hxx
index d6ed7fbccc7c..f85171b15a93 100644
--- a/binaryurp/source/incomingrequest.hxx
+++ b/binaryurp/source/incomingrequest.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_INCOMINGREQUEST_HXX
-#define INCLUDED_BINARYURP_SOURCE_INCOMINGREQUEST_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -77,6 +76,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/lessoperators.hxx b/binaryurp/source/lessoperators.hxx
index 65f2c5366ca3..306710de6386 100644
--- a/binaryurp/source/lessoperators.hxx
+++ b/binaryurp/source/lessoperators.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_LESSOPERATORS_HXX
-#define INCLUDED_BINARYURP_SOURCE_LESSOPERATORS_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -37,6 +36,4 @@ bool operator <(ByteSequence const & left, ByteSequence const & right);
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/marshal.hxx b/binaryurp/source/marshal.hxx
index 333c8f90f43c..93930e3566c1 100644
--- a/binaryurp/source/marshal.hxx
+++ b/binaryurp/source/marshal.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_MARSHAL_HXX
-#define INCLUDED_BINARYURP_SOURCE_MARSHAL_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -86,6 +85,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/outgoingrequest.hxx b/binaryurp/source/outgoingrequest.hxx
index aaf68e23f64a..f5abda34a302 100644
--- a/binaryurp/source/outgoingrequest.hxx
+++ b/binaryurp/source/outgoingrequest.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_OUTGOINGREQUEST_HXX
-#define INCLUDED_BINARYURP_SOURCE_OUTGOINGREQUEST_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -44,6 +43,4 @@ struct OutgoingRequest {
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/outgoingrequests.hxx b/binaryurp/source/outgoingrequests.hxx
index e085288bf971..0aa7b57580d1 100644
--- a/binaryurp/source/outgoingrequests.hxx
+++ b/binaryurp/source/outgoingrequests.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_OUTGOINGREQUESTS_HXX
-#define INCLUDED_BINARYURP_SOURCE_OUTGOINGREQUESTS_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -56,6 +55,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/proxy.hxx b/binaryurp/source/proxy.hxx
index d4a94cd02f48..cf9e1262a8c3 100644
--- a/binaryurp/source/proxy.hxx
+++ b/binaryurp/source/proxy.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_PROXY_HXX
-#define INCLUDED_BINARYURP_SOURCE_PROXY_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -83,6 +82,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/reader.hxx b/binaryurp/source/reader.hxx
index 6510bbb30706..af9bae09524f 100644
--- a/binaryurp/source/reader.hxx
+++ b/binaryurp/source/reader.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_READER_HXX
-#define INCLUDED_BINARYURP_SOURCE_READER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -62,6 +61,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/readerstate.hxx b/binaryurp/source/readerstate.hxx
index 5b401faec1ca..33900ef4c34a 100644
--- a/binaryurp/source/readerstate.hxx
+++ b/binaryurp/source/readerstate.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_READERSTATE_HXX
-#define INCLUDED_BINARYURP_SOURCE_READERSTATE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -44,6 +43,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/specialfunctionids.hxx b/binaryurp/source/specialfunctionids.hxx
index ef147a326be9..3f885eff28b0 100644
--- a/binaryurp/source/specialfunctionids.hxx
+++ b/binaryurp/source/specialfunctionids.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_SPECIALFUNCTIONIDS_HXX
-#define INCLUDED_BINARYURP_SOURCE_SPECIALFUNCTIONIDS_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -38,6 +37,4 @@ enum SpecialFunctionIds {
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/unmarshal.hxx b/binaryurp/source/unmarshal.hxx
index 6867d8b17beb..c5b91eebb07a 100644
--- a/binaryurp/source/unmarshal.hxx
+++ b/binaryurp/source/unmarshal.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_UNMARSHAL_HXX
-#define INCLUDED_BINARYURP_SOURCE_UNMARSHAL_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -91,6 +90,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/writer.hxx b/binaryurp/source/writer.hxx
index 42ea687cea7a..8a6f60de0d03 100644
--- a/binaryurp/source/writer.hxx
+++ b/binaryurp/source/writer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_WRITER_HXX
-#define INCLUDED_BINARYURP_SOURCE_WRITER_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -160,6 +159,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binaryurp/source/writerstate.hxx b/binaryurp/source/writerstate.hxx
index 3386ef94335f..72477ad17c07 100644
--- a/binaryurp/source/writerstate.hxx
+++ b/binaryurp/source/writerstate.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BINARYURP_SOURCE_WRITERSTATE_HXX
-#define INCLUDED_BINARYURP_SOURCE_WRITERSTATE_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -47,6 +46,4 @@ public:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list