diff options
author | Jens Carl <j.carl43@gmx.de> | 2014-05-28 07:01:30 +0000 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-28 02:50:45 -0500 |
commit | 7cfb4f864ab9b61241e2b9ffb645e9a0d4dd1a6d (patch) | |
tree | 4ba35d19d6bb2a7c0d49b03b857019a58ba1393c | |
parent | 1483a478adb2ad535f665b53ba39ab8664bc34e7 (diff) |
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/9521
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
-rw-r--r-- | filter/source/graphicfilter/ipict/shape.hxx | 4 | ||||
-rw-r--r-- | filter/source/msfilter/viscache.hxx | 3 | ||||
-rw-r--r-- | filter/source/placeware/zip.hxx | 5 | ||||
-rw-r--r-- | filter/source/placeware/zipfile.hxx | 5 |
4 files changed, 17 insertions, 0 deletions
diff --git a/filter/source/graphicfilter/ipict/shape.hxx b/filter/source/graphicfilter/ipict/shape.hxx index 4cc67700a1c1..0c4d8995e4d8 100644 --- a/filter/source/graphicfilter/ipict/shape.hxx +++ b/filter/source/graphicfilter/ipict/shape.hxx @@ -16,6 +16,8 @@ * except in compliance with the License. You may obtain a copy of * 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> @@ -50,4 +52,6 @@ namespace PictReaderShape { 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: */ diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx index 5745f9ed569b..a52ca4a0b2de 100644 --- a/filter/source/msfilter/viscache.hxx +++ b/filter/source/msfilter/viscache.hxx @@ -16,6 +16,8 @@ * except in compliance with the License. You may obtain a copy of * 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 <tools/stream.hxx> @@ -65,5 +67,6 @@ public: void Write( SvStream & rStm ); }; +#endif // INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/placeware/zip.hxx b/filter/source/placeware/zip.hxx index 1dd7a65c4739..92711455d004 100644 --- a/filter/source/placeware/zip.hxx +++ b/filter/source/placeware/zip.hxx @@ -17,6 +17,9 @@ * 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 <rtl/string.hxx> #include <osl/file.hxx> @@ -53,4 +56,6 @@ private: std::vector<ZipEntry*> maEntries; }; +#endif // INCLUDED_FILTER_SOURCE_PLACEWARE_ZIP_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/placeware/zipfile.hxx b/filter/source/placeware/zipfile.hxx index 72478d7a9dc9..77a4ee68ad3c 100644 --- a/filter/source/placeware/zipfile.hxx +++ b/filter/source/placeware/zipfile.hxx @@ -17,6 +17,9 @@ * 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 possibly the extra field. */ #define zf_lfhSig 0 @@ -81,4 +84,6 @@ /* Compression values. */ #define zf_compNone 0 +#endif // INCLUDED_FILTER_SOURCE_PLACEWARE_ZIPFILE_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |