[Libreoffice-commits] core.git: filter/source

Jens Carl j.carl43 at gmx.de
Wed May 28 00:51:10 PDT 2014


 filter/source/graphicfilter/ipict/shape.hxx |    4 ++++
 filter/source/msfilter/viscache.hxx         |    3 +++
 filter/source/placeware/zip.hxx             |    5 +++++
 filter/source/placeware/zipfile.hxx         |    5 +++++
 4 files changed, 17 insertions(+)

New commits:
commit 7cfb4f864ab9b61241e2b9ffb645e9a0d4dd1a6d
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Wed May 28 07:01:30 2014 +0000

    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 at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/filter/source/graphicfilter/ipict/shape.hxx b/filter/source/graphicfilter/ipict/shape.hxx
index 4cc6770..0c4d899 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 5745f9e..a52ca4a 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 1dd7a65..9271145 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 72478d7..77a4ee6 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: */


More information about the Libreoffice-commits mailing list