Kaydet (Commit) bcd5da6c authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Noel Grandin

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/9557Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 3ddb9280
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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 "InterfaceContainer.hxx"
#include <cppuhelper/component.hxx> #include <cppuhelper/component.hxx>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
...@@ -184,4 +187,6 @@ public: ...@@ -184,4 +187,6 @@ public:
} // namespace frm } // namespace frm
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_fORMSCOLLECTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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 "errorbroadcaster.hxx"
#include "FormComponent.hxx" #include "FormComponent.hxx"
#include "formcontrolfont.hxx" #include "formcontrolfont.hxx"
...@@ -201,4 +204,6 @@ protected: ...@@ -201,4 +204,6 @@ protected:
#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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 <rtl/ustring.h>
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
...@@ -57,4 +60,6 @@ public: ...@@ -57,4 +60,6 @@ public:
}; };
#endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_EXTENSION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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/tree.h>
#include <libxml/xpath.h> #include <libxml/xpath.h>
#include <libxml/xpathInternals.h> #include <libxml/xpathInternals.h>
...@@ -72,4 +75,6 @@ xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlCha ...@@ -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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,8 +17,13 @@ ...@@ -17,8 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * 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); int ReleaseSolarMutexOnMainThreadContext(unsigned nThreadId);
void AcquireSolarMutex(int nAcquireCount); void AcquireSolarMutex(int nAcquireCount);
#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SOLARMUTEX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment