Kaydet (Commit) 7cfb4f86 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 directory filter/
Fixed missing INCLUDED_ prefix

Change-Id: I091e6a0262d3a58b3b784e39970f79c5b10d04f5
Reviewed-on: https://gerrit.libreoffice.org/9521Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst 1483a478
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
* 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_FILTER_SOURCE_GRAPHICFILTER_IPICT_SHAPE_HXX
#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IPICT_SHAPE_HXX
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
...@@ -50,4 +52,6 @@ namespace PictReaderShape { ...@@ -50,4 +52,6 @@ namespace PictReaderShape {
void drawArc(VirtualDevice *dev, bool drawFrame, Rectangle const &orig, const double& angle1, const double& angle2, Size const &pSize); void drawArc(VirtualDevice *dev, bool drawFrame, Rectangle const &orig, const double& angle1, const double& angle2, Size const &pSize);
} }
#endif // INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IPICT_SHAPE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
* 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_FILTER_SOURCE_MSFILTER_VISCACHE_HXX
#define INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX
#include <sfx2/objsh.hxx> #include <sfx2/objsh.hxx>
#include <tools/stream.hxx> #include <tools/stream.hxx>
...@@ -65,5 +67,6 @@ public: ...@@ -65,5 +67,6 @@ public:
void Write( SvStream & rStm ); void Write( SvStream & rStm );
}; };
#endif // INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_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_FILTER_SOURCE_PLACEWARE_ZIP_HXX
#define INCLUDED_FILTER_SOURCE_PLACEWARE_ZIP_HXX
#include <sal/types.h> #include <sal/types.h>
#include <rtl/string.hxx> #include <rtl/string.hxx>
#include <osl/file.hxx> #include <osl/file.hxx>
...@@ -53,4 +56,6 @@ private: ...@@ -53,4 +56,6 @@ private:
std::vector<ZipEntry*> maEntries; std::vector<ZipEntry*> maEntries;
}; };
#endif // INCLUDED_FILTER_SOURCE_PLACEWARE_ZIP_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_FILTER_SOURCE_PLACEWARE_ZIPFILE_HXX
#define INCLUDED_FILTER_SOURCE_PLACEWARE_ZIPFILE_HXX
/* Local file head offsets. The header is followed by the filename and /* Local file head offsets. The header is followed by the filename and
possibly the extra field. */ possibly the extra field. */
#define zf_lfhSig 0 #define zf_lfhSig 0
...@@ -81,4 +84,6 @@ ...@@ -81,4 +84,6 @@
/* Compression values. */ /* Compression values. */
#define zf_compNone 0 #define zf_compNone 0
#endif // INCLUDED_FILTER_SOURCE_PLACEWARE_ZIPFILE_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