[Libreoffice-commits] core.git: toolkit/source ucb/source

Jens Carl j.carl43 at gmx.de
Sun Jun 1 09:14:41 PDT 2014


 toolkit/source/controls/grid/gridcolumn.hxx |    4 ++++
 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 +++++
 5 files changed, 22 insertions(+), 4 deletions(-)

New commits:
commit 158672fda5e9d82906972d9168025d42f3b38ac3
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Sat May 31 03:59:00 2014 +0000

    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 at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/toolkit/source/controls/grid/gridcolumn.hxx b/toolkit/source/controls/grid/gridcolumn.hxx
index c905df5..edd7476 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 ab95fa7..7e08a49 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 535f4e8..b39c5b9 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 380dc76..4e87590 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 7e85d56..de9f80d 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: */


More information about the Libreoffice-commits mailing list