diff options
author | Jens Carl <j.carl43@gmx.de> | 2014-05-30 05:49:03 +0000 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-05-30 01:45:21 -0500 |
commit | 9e3cc6b47444f988a68ca3ddcad779ed0480b00c (patch) | |
tree | 51ba26379eda8f674b5db369f99fa4d3fe15052c /io | |
parent | bcd5da6cb3d24801be4b84b3339a4d77e255a917 (diff) |
fdo#68849: Add header guards to all include files
Added header guard to files in directories i18npool/, include/, and io/
Change-Id: I7ba5b5f0ffdf5dedb8fd40e8efa06936e7c23591
Reviewed-on: https://gerrit.libreoffice.org/9558
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'io')
-rw-r--r-- | io/source/acceptor/acceptor.hxx | 5 | ||||
-rw-r--r-- | io/source/connector/connector.hxx | 8 | ||||
-rw-r--r-- | io/source/stm/streamhelper.hxx | 5 |
3 files changed, 16 insertions, 2 deletions
diff --git a/io/source/acceptor/acceptor.hxx b/io/source/acceptor/acceptor.hxx index 3e56b86e75e9..53db4df449f6 100644 --- a/io/source/acceptor/acceptor.hxx +++ b/io/source/acceptor/acceptor.hxx @@ -17,6 +17,9 @@ * 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 + #include <osl/pipe.hxx> #include <osl/socket.hxx> @@ -65,4 +68,6 @@ 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 f9deefa780b9..b113097c4b89 100644 --- a/io/source/connector/connector.hxx +++ b/io/source/connector/connector.hxx @@ -17,6 +17,9 @@ * 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 + #include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase2.hxx> @@ -24,8 +27,8 @@ #include <com/sun/star/connection/XConnectionBroadcaster.hpp> #include <boost/unordered_set.hpp> -# include <osl/socket.hxx> -# include <osl/pipe.hxx> +#include <osl/socket.hxx> +#include <osl/pipe.hxx> namespace stoc_connector { @@ -130,5 +133,6 @@ 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 4a31d47dade2..56b7412e0d89 100644 --- a/io/source/stm/streamhelper.hxx +++ b/io/source/stm/streamhelper.hxx @@ -17,6 +17,9 @@ * 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 + // Save NDEBUG state #ifdef NDEBUG #define STREAMHELPER_HXX_HAD_NDEBUG @@ -153,4 +156,6 @@ public: } +#endif // INCLUDED_IO_SOURCE_STM_STREAMHELPER_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |