summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2014-05-31 03:59:00 +0000
committerThomas Arnhold <thomas@arnhold.org>2014-06-01 16:14:18 +0000
commit158672fda5e9d82906972d9168025d42f3b38ac3 (patch)
tree205f21dd51ccfb062634c708b0b3a73ff4bf6583
parente15732bc96c903b2e85bcc30c32fad2cceda5610 (diff)
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 <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
-rw-r--r--toolkit/source/controls/grid/gridcolumn.hxx4
-rw-r--r--ucb/source/ucp/file/filerror.hxx7
-rw-r--r--ucb/source/ucp/ftp/ftpcontainer.hxx5
-rw-r--r--ucb/source/ucp/ftp/ftphandleprovider.hxx5
-rw-r--r--ucb/source/ucp/ftp/test_ftpurl.hxx5
5 files changed, 22 insertions, 4 deletions
diff --git a/toolkit/source/controls/grid/gridcolumn.hxx b/toolkit/source/controls/grid/gridcolumn.hxx
index c905df56d6c2..edd7476be50a 100644
--- a/toolkit/source/controls/grid/gridcolumn.hxx
+++ b/toolkit/source/controls/grid/gridcolumn.hxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#ifndef INCLUDED_TOOLKIT_SOURCE_CONTROLS_GRID_GRIDCOLUMN_HXX
+#define INCLUDED_TOOLKIT_SOURCE_CONTROLS_GRID_GRIDCOLUMN_HXX
#include <com/sun/star/awt/grid/XGridColumn.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
@@ -126,4 +128,6 @@ private:
}
+#endif // INCLUDED_TOOLKIT_SOURCE_CONTROLS_GRID_GRIDCOLUMN_HXX
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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 <sal/types.h>
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 <rtl/ustring.hxx>
#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: */