[Libreoffice-commits] core.git: forms/source fpicker/source

Jens Carl j.carl43 at gmx.de
Thu May 29 23:44:52 PDT 2014


 forms/source/component/FormsCollection.hxx     |    5 +++++
 forms/source/component/Grid.hxx                |    5 +++++
 forms/source/xforms/xpathlib/extension.hxx     |    5 +++++
 forms/source/xforms/xpathlib/xpathlib.hxx      |    5 +++++
 fpicker/source/win32/filepicker/SolarMutex.hxx |    5 +++++
 5 files changed, 25 insertions(+)

New commits:
commit bcd5da6cb3d24801be4b84b3339a4d77e255a917
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Thu May 29 23:55:20 2014 +0000

    fdo#68849: Add header guards to all include files
    
    Added header guard to files in directories forms/ and fpicker/
    
    Change-Id: I5a3a2b1f2aa81d048959cb3223e03ac985539f33
    Reviewed-on: https://gerrit.libreoffice.org/9557
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx
index 2a8dce1..0dfb6ae 100644
--- a/forms/source/component/FormsCollection.hxx
+++ b/forms/source/component/FormsCollection.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_fORMSCOLLECTION_HXX
+#define INCLUDED_FORMS_SOURCE_COMPONENT_fORMSCOLLECTION_HXX
+
 #include "InterfaceContainer.hxx"
 #include <cppuhelper/component.hxx>
 #include <cppuhelper/implbase2.hxx>
@@ -184,4 +187,6 @@ public:
 }   // namespace frm
 
 
+#endif // INCLUDED_FORMS_SOURCE_COMPONENT_fORMSCOLLECTION_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx
index 88eba2d..99e5004 100644
--- a/forms/source/component/Grid.hxx
+++ b/forms/source/component/Grid.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
+#define INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
+
 #include "errorbroadcaster.hxx"
 #include "FormComponent.hxx"
 #include "formcontrolfont.hxx"
@@ -201,4 +204,6 @@ protected:
 
 
 
+#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/xforms/xpathlib/extension.hxx b/forms/source/xforms/xpathlib/extension.hxx
index 180967c..e631d55 100644
--- a/forms/source/xforms/xpathlib/extension.hxx
+++ b/forms/source/xforms/xpathlib/extension.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX
+#define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX
+
 #include <rtl/ustring.h>
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
@@ -57,4 +60,6 @@ public:
 
 };
 
+#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/xforms/xpathlib/xpathlib.hxx b/forms/source/xforms/xpathlib/xpathlib.hxx
index 267f979..3965ca7 100644
--- a/forms/source/xforms/xpathlib/xpathlib.hxx
+++ b/forms/source/xforms/xpathlib/xpathlib.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
+#define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
+
 #include <libxml/tree.h>
 #include <libxml/xpath.h>
 #include <libxml/xpathInternals.h>
@@ -72,4 +75,6 @@ xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlCha
 
 }
 
+#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/fpicker/source/win32/filepicker/SolarMutex.hxx b/fpicker/source/win32/filepicker/SolarMutex.hxx
index 428d9f2..84191ed 100644
--- a/fpicker/source/win32/filepicker/SolarMutex.hxx
+++ b/fpicker/source/win32/filepicker/SolarMutex.hxx
@@ -17,8 +17,13 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SOLARMUTEX_HXX
+#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SOLARMUTEX_HXX
+
 int ReleaseSolarMutexOnMainThreadContext(unsigned nThreadId);
 
 void AcquireSolarMutex(int nAcquireCount);
 
+#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SOLARMUTEX_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list