Kaydet (Commit) d6b80337 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

fdo#68849 add some header guards

Change-Id: I1cd598fba94e337c2ccad68a4a888743aeb292f0
üst 657a3a81
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#ifndef INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H #ifndef INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H
#define INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H
#include <sal/config.h> #include <sal/config.h>
#include <sal/types.h> #include <sal/types.h>
......
...@@ -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_EMBEDDEDOBJ_SOURCE_INC_CLOSEPREVENTER_HXX
#define INCLUDED_EMBEDDEDOBJ_SOURCE_INC_CLOSEPREVENTER_HXX
#include <com/sun/star/util/XCloseListener.hpp> #include <com/sun/star/util/XCloseListener.hpp>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
...@@ -28,4 +31,6 @@ class OClosePreventer : public ::cppu::WeakImplHelper1 < ::com::sun::star::util: ...@@ -28,4 +31,6 @@ class OClosePreventer : public ::cppu::WeakImplHelper1 < ::com::sun::star::util:
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
}; };
#endif
/* 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_EMBEDDEDOBJ_SOURCE_INC_TARGETSTATECONTROL_HXX
#define INCLUDED_EMBEDDEDOBJ_SOURCE_INC_TARGETSTATECONTROL_HXX
#include <sal/types.h> #include <sal/types.h>
#include <osl/diagnose.h> #include <osl/diagnose.h>
...@@ -37,5 +40,6 @@ public: ...@@ -37,5 +40,6 @@ public:
} }
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,13 +17,12 @@ ...@@ -17,13 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef __XCREATOR_HXX_ #ifndef INCLUDED_EMBEDDEDOBJ_SOURCE_INC_XCREATOR_HXX
#define __XCREATOR_HXX_ #define INCLUDED_EMBEDDEDOBJ_SOURCE_INC_XCREATOR_HXX
#include <com/sun/star/embed/XEmbeddedObjectCreator.hpp> #include <com/sun/star/embed/XEmbeddedObjectCreator.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
#include <comphelper/mimeconfighelper.hxx> #include <comphelper/mimeconfighelper.hxx>
......
...@@ -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_EMBEDDEDOBJ_SOURCE_MSOLE_ADVISESINK_HXX
#define INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_ADVISESINK_HXX
#include <osl/interlck.h> #include <osl/interlck.h>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <platform.h> #include <platform.h>
...@@ -46,4 +49,6 @@ public: ...@@ -46,4 +49,6 @@ public:
STDMETHODIMP_(void) OnClose(void); STDMETHODIMP_(void) OnClose(void);
}; };
#endif
/* 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_EMBEDDEDOBJ_SOURCE_MSOLE_MTNOTIFICATION_HXX
#define INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_MTNOTIFICATION_HXX
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/awt/XCallback.hpp> #include <com/sun/star/awt/XCallback.hpp>
...@@ -44,5 +47,6 @@ public: ...@@ -44,5 +47,6 @@ public:
~MainThreadNotificationRequest(); ~MainThreadNotificationRequest();
}; };
#endif
/* 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_EMBEDDEDOBJ_SOURCE_MSOLE_OLEWRAPCLIENT_HXX
#define INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_OLEWRAPCLIENT_HXX
#include <osl/interlck.h> #include <osl/interlck.h>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <platform.h> #include <platform.h>
...@@ -46,4 +49,6 @@ public: ...@@ -46,4 +49,6 @@ public:
STDMETHODIMP RequestNewObjectLayout(void); STDMETHODIMP RequestNewObjectLayout(void);
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,14 +17,13 @@ ...@@ -17,14 +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 __XDIALOGCREATOR_HXX_ #ifndef INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_XDIALOGCREATOR_HXX
#define __XDIALOGCREATOR_HXX_ #define INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_XDIALOGCREATOR_HXX
#include <com/sun/star/embed/XInsertObjectDialog.hpp> #include <com/sun/star/embed/XInsertObjectDialog.hpp>
#include <com/sun/star/embed/XEmbedObjectClipboardCreator.hpp> #include <com/sun/star/embed/XEmbedObjectClipboardCreator.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase3.hxx>
......
...@@ -17,13 +17,12 @@ ...@@ -17,13 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef __XFACTORY_HXX_ #ifndef INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_XOLEFACTORY_HXX
#define __XFACTORY_HXX_ #define INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_XOLEFACTORY_HXX
#include <com/sun/star/embed/XEmbeddedObjectCreator.hpp> #include <com/sun/star/embed/XEmbeddedObjectCreator.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
......
...@@ -16,8 +16,9 @@ ...@@ -16,8 +16,9 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_CPPCANVASDLLAPI_H
#define INCLUDED_CPPCANVASDLLAPI_H #ifndef INCLUDED_CPPCANVAS_CPPCANVASDLLAPI_H
#define INCLUDED_CPPCANVAS_CPPCANVASDLLAPI_H
#if defined CPPCANVAS_DLLIMPLEMENTATION #if defined CPPCANVAS_DLLIMPLEMENTATION
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INC_ASSCLASS #ifndef INCLUDED_SD_SOURCE_UI_INC_ASSCLASS_HXX
#define INC_ASSCLASS #define INCLUDED_SD_SOURCE_UI_INC_ASSCLASS_HXX
#include <vector> #include <vector>
#include <boost/scoped_array.hpp> #include <boost/scoped_array.hpp>
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INC_DLGASS #ifndef INCLUDED_SD_SOURCE_UI_INC_DLGASS_HXX
#define INC_DLGASS #define INCLUDED_SD_SOURCE_UI_INC_DLGASS_HXX
#include <vcl/group.hxx> #include <vcl/group.hxx>
#include <vcl/edit.hxx> #include <vcl/edit.hxx>
......
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