summaryrefslogtreecommitdiffstats
path: root/io
diff options
context:
space:
mode:
authorAlchemist <rhithick02@gmail.com>2020-12-31 18:04:12 +0530
committerJulien Nabet <serval2412@yahoo.fr>2021-01-03 10:11:23 +0100
commit74583d24f67f41d15da211cfb00b7eaa8419e685 (patch)
treed46f401d0d85b50b4652ae41baaaa78b84e6a2ab /io
parenttighten up asserting in SfxPoolItem::operator== (diff)
downloadcore-74583d24f67f41d15da211cfb00b7eaa8419e685.tar.gz
core-74583d24f67f41d15da211cfb00b7eaa8419e685.zip
tdf#124176 Use pragma once instead of include guards
Change-Id: I491742c51ddc7c97f02b148dfb81d9ba820a759e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108600 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'io')
-rw-r--r--io/source/acceptor/acceptor.hxx4
-rw-r--r--io/source/connector/connector.hxx4
-rw-r--r--io/source/stm/streamhelper.hxx5
-rw-r--r--io/test/stm/testfactreg.hxx6
4 files changed, 4 insertions, 15 deletions
diff --git a/io/source/acceptor/acceptor.hxx b/io/source/acceptor/acceptor.hxx
index a88f3728f5e7..0ebe00c9e372 100644
--- a/io/source/acceptor/acceptor.hxx
+++ b/io/source/acceptor/acceptor.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_IO_SOURCE_ACCEPTOR_ACCEPTOR_HXX
-#define INCLUDED_IO_SOURCE_ACCEPTOR_ACCEPTOR_HXX
+#pragma once
#include <osl/pipe.hxx>
#include <osl/socket.hxx>
@@ -71,6 +70,5 @@ namespace io_acceptor {
}
-#endif // INCLUDED_IO_SOURCE_ACCEPTOR_ACCEPTOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/io/source/connector/connector.hxx b/io/source/connector/connector.hxx
index 9aad55a45dfa..a9321932798e 100644
--- a/io/source/connector/connector.hxx
+++ b/io/source/connector/connector.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_IO_SOURCE_CONNECTOR_CONNECTOR_HXX
-#define INCLUDED_IO_SOURCE_CONNECTOR_CONNECTOR_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
@@ -90,6 +89,5 @@ namespace stoc_connector
};
}
-#endif // INCLUDED_IO_SOURCE_CONNECTOR_CONNECTOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index c1bb1b7db748..6d49003e9d77 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_IO_SOURCE_STM_STREAMHELPER_HXX
-#define INCLUDED_IO_SOURCE_STM_STREAMHELPER_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.hxx>
@@ -83,6 +82,4 @@ public:
}
-#endif // INCLUDED_IO_SOURCE_STM_STREAMHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/io/test/stm/testfactreg.hxx b/io/test/stm/testfactreg.hxx
index 2dbff6d62d2b..7952867b4912 100644
--- a/io/test/stm/testfactreg.hxx
+++ b/io/test/stm/testfactreg.hxx
@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_IO_TEST_STM_TESTFACTREG_HXX
-#define INCLUDED_IO_TEST_STM_TESTFACTREG_HXX
-
+#pragma once
#include <rtl/strbuf.hxx>
Reference< XInterface > SAL_CALL OPipeTest_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw( Exception );
@@ -106,6 +104,4 @@ Sequence<sal_Int8> createIntSeq( sal_Int32 i );
}\
((void)0)
-#endif // INCLUDED_IO_TEST_STM_TESTFACTREG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */