From 158672fda5e9d82906972d9168025d42f3b38ac3 Mon Sep 17 00:00:00 2001 From: Jens Carl Date: Sat, 31 May 2014 03:59:00 +0000 Subject: fdo#68849: Add header guards to all include files Added header guards to files in directories toolkit/, and ucb/ Change-Id: Ia7ea7d6fad685c7648db22455b5587cf6260318d Reviewed-on: https://gerrit.libreoffice.org/9595 Reviewed-by: Thomas Arnhold Tested-by: Thomas Arnhold --- ucb/source/ucp/file/filerror.hxx | 7 +++---- ucb/source/ucp/ftp/ftpcontainer.hxx | 5 +++++ ucb/source/ucp/ftp/ftphandleprovider.hxx | 5 +++++ ucb/source/ucp/ftp/test_ftpurl.hxx | 5 +++++ 4 files changed, 18 insertions(+), 4 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/file/filerror.hxx b/ucb/source/ucp/file/filerror.hxx index ab95fa79f6f4..7e08a495dbda 100644 --- a/ucb/source/ucp/file/filerror.hxx +++ b/ucb/source/ucp/file/filerror.hxx @@ -16,7 +16,9 @@ * 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_UCB_SOURCE_UCP_FILE_FILERROR_HXX +#define INCLUDED_UCB_SOURCE_UCP_FILE_FILERROR_HXX namespace fileaccess { @@ -103,9 +105,6 @@ namespace fileaccess { } -#endif - - - +#endif // INCLUDED_UCB_SOURCE_UCP_FILE_FILERROR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/ucb/source/ucp/ftp/ftpcontainer.hxx b/ucb/source/ucp/ftp/ftpcontainer.hxx index 535f4e86a35b..b39c5b96bb27 100644 --- a/ucb/source/ucp/ftp/ftpcontainer.hxx +++ b/ucb/source/ucp/ftp/ftpcontainer.hxx @@ -22,6 +22,9 @@ *************************************************************************/ +#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTAINER_HXX +#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTAINER_HXX + #include namespace ftp { @@ -51,4 +54,6 @@ public: extern "C" int memory_write( void *buffer,size_t size,size_t nmemb,void *stream); +#endif // INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTAINER_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/ucb/source/ucp/ftp/ftphandleprovider.hxx b/ucb/source/ucp/ftp/ftphandleprovider.hxx index 380dc76e38cd..4e87590c27a1 100644 --- a/ucb/source/ucp/ftp/ftphandleprovider.hxx +++ b/ucb/source/ucp/ftp/ftphandleprovider.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPHANDLEPROVIDER_HXX +#define INCLUDED_UCB_SOURCE_UCP_FTP_FTPHANDLEPROVIDER_HXX + #include #include "curl.hxx" @@ -50,4 +53,6 @@ namespace ftp { } +#endif // INCLUDED_UCB_SOURCE_UCP_FTP_FTPHANDLEPROVIDER_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/ucb/source/ucp/ftp/test_ftpurl.hxx b/ucb/source/ucp/ftp/test_ftpurl.hxx index 7e85d5617dc9..de9f80dcbda2 100644 --- a/ucb/source/ucp/ftp/test_ftpurl.hxx +++ b/ucb/source/ucp/ftp/test_ftpurl.hxx @@ -17,10 +17,15 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_UCB_SOURCE_UCP_FTP_TEST_FTPURL_HXX +#define INCLUDED_UCB_SOURCE_UCP_FTP_TEST_FTPURL_HXX + extern int test_ftpurl(void); extern int test_ftpproperties(void); extern int test_ftpopen(void); extern int test_ftplist(void); extern int test_ftpparent(void); +#endif // INCLUDED_UCB_SOURCE_UCP_FTP_TEST_FTPURL_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit