Kaydet (Commit) 6c3245fc authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Thomas Arnhold

fdo#68849: Add header guards to all include files

Added header guards to files in directory vcl/

Change-Id: I76ad0c34f2b107d56e92c5a6a8f4c61554c93e2f
Reviewed-on: https://gerrit.libreoffice.org/9597Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst 158672fd
...@@ -89,6 +89,9 @@ ...@@ -89,6 +89,9 @@
* - fixed typos * - fixed typos
*/ */
#ifndef INCLUDED_VCL_GENERIC_FONTMANAGER_PARSEAFM_HXX
#define INCLUDED_VCL_GENERIC_FONTMANAGER_PARSEAFM_HXX
#include <stdio.h> #include <stdio.h>
namespace psp { namespace psp {
...@@ -317,4 +320,6 @@ void freeFontInfo(FontInfo *fi); ...@@ -317,4 +320,6 @@ void freeFontInfo(FontInfo *fi);
} // namespace } // namespace
#endif // INCLUDED_VCL_GENERIC_FONTMANAGER_PARSEAFM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
// Parse a string of features specified as ; separated pairs. // Parse a string of features specified as ; separated pairs.
// e.g. // e.g.
// 1001=1&2002=2&fav1=0 // 1001=1&2002=2&fav1=0
#ifndef INCLUDED_VCL_INC_GRAPHITE_FEATURES_HXX
#define INCLUDED_VCL_INC_GRAPHITE_FEATURES_HXX
#include <sal/types.h> #include <sal/types.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <graphite_static.hxx> #include <graphite_static.hxx>
...@@ -67,4 +71,6 @@ namespace grutils ...@@ -67,4 +71,6 @@ namespace grutils
} }
#endif // INCLUDED_VCL_INC_GRAPHITE_FEATURES_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -7,10 +7,15 @@ ...@@ -7,10 +7,15 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_VCL_INC_GRAPHITE_STATIC_HXX
#define INCLUDED_VCL_INC_GRAPHITE_STATIC_HXX
#ifdef WNT #ifdef WNT
# ifndef GRAPHITE2_STATIC # ifndef GRAPHITE2_STATIC
# define GRAPHITE2_STATIC 1 # define GRAPHITE2_STATIC 1
# endif # endif
#endif #endif
#endif // INCLUDED_VCL_INC_GRAPHITE_STATIC_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_VCL_OSX_DRAGACTIONCONVERSION_HXX
#define INCLUDED_VCL_OSX_DRAGACTIONCONVERSION_HXX
#include <sal/types.h> #include <sal/types.h>
#include <premac.h> #include <premac.h>
...@@ -35,4 +38,6 @@ unsigned int OfficeToSystemDragActions(sal_Int8 dragActions); ...@@ -35,4 +38,6 @@ unsigned int OfficeToSystemDragActions(sal_Int8 dragActions);
*/ */
sal_Int8 SystemToOfficeDragActions(unsigned int dragActions); sal_Int8 SystemToOfficeDragActions(unsigned int dragActions);
#endif // INCLUDED_VCL_OSX_DRAGACTIONCONVERSION_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_VCL_QUARTZ_CTFONTS_HXX
#define INCLUDED_VCL_QUARTZ_CTFONTS_HXX
#include "quartz/salgdi.h" #include "quartz/salgdi.h"
#ifdef IOS #ifdef IOS
#include "headless/svpgdi.hxx" #include "headless/svpgdi.hxx"
...@@ -25,4 +28,7 @@ ...@@ -25,4 +28,7 @@
SystemFontList* GetCoretextFontList(void); SystemFontList* GetCoretextFontList(void);
ImplDevFontAttributes DevFontFromCTFontDescriptor( CTFontDescriptorRef, bool* ); ImplDevFontAttributes DevFontFromCTFontDescriptor( CTFontDescriptorRef, bool* );
#endif // INCLUDED_VCL_QUARTZ_CTFONTS_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_VCL_SOURCE_FILTER_IXPM_RGBTABLE_HXX
#define INCLUDED_VCL_SOURCE_FILTER_IXPM_RGBTABLE_HXX
struct XPMRGBTab struct XPMRGBTab
{ {
const char* name; const char* name;
...@@ -686,4 +689,6 @@ static const XPMRGBTab pRGBTable[] = { ...@@ -686,4 +689,6 @@ static const XPMRGBTab pRGBTable[] = {
{ NULL, 0 , 0, 0} { NULL, 0 , 0, 0}
}; };
#endif // INCLUDED_VCL_SOURCE_FILTER_IXPM_RGBTABLE_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_VCL_SOURCE_WINDOW_SCRWND_HXX
#define INCLUDED_VCL_SOURCE_WINDOW_SCRWND_HXX
#include <vcl/floatwin.hxx> #include <vcl/floatwin.hxx>
#include <vcl/bitmap.hxx> #include <vcl/bitmap.hxx>
#include <vcl/image.hxx> #include <vcl/image.hxx>
...@@ -74,4 +77,6 @@ public: ...@@ -74,4 +77,6 @@ public:
sal_uLong ImplGetWheelMode() const { return mnWheelMode; } sal_uLong ImplGetWheelMode() const { return mnWheelMode; }
}; };
#endif // INCLUDED_VCL_SOURCE_WINDOW_SCRWND_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