[Libreoffice-commits] core.git: avmedia/source basegfx/source chart2/source connectivity/source

Jens Carl j.carl43 at gmx.de
Thu May 29 23:43:52 PDT 2014


 avmedia/source/vlc/wrapper/Wrapper.hxx                                       |   10 +++++++++-
 basegfx/source/workbench/gauss.hxx                                           |    6 ++++++
 chart2/source/view/inc/3DChartObjects.hxx                                    |    5 +++++
 chart2/source/view/main/OpenGLRender.hxx                                     |    5 +++++
 connectivity/source/drivers/mozab/MConfigAccess.hxx                          |    1 +
 connectivity/source/drivers/mozab/MExtConfigAccess.hxx                       |    1 +
 connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx                   |    5 +++++
 connectivity/source/drivers/mozab/bootstrap/MNSProfileDirServiceProvider.hxx |    4 ++++
 connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx      |    5 +++++
 connectivity/source/drivers/postgresql/pq_updateableresultset.hxx            |    5 +++++
 10 files changed, 46 insertions(+), 1 deletion(-)

New commits:
commit 54b85bf51e42f0e74dfaab40dc0a6923dd1f876b
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Thu May 29 20:43:55 2014 +0000

    fdo#68849: Add header guards to all include files
    
    Added header guards to files in directories avmedia/, basegfx/, chart2/, and
    connectivity/
    
    Change-Id: I94ec438ec918ccef1c518edfd9ab4944e9e2961b
    Reviewed-on: https://gerrit.libreoffice.org/9555
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/avmedia/source/vlc/wrapper/Wrapper.hxx b/avmedia/source/vlc/wrapper/Wrapper.hxx
index 1af0323..b7d1c22 100644
--- a/avmedia/source/vlc/wrapper/Wrapper.hxx
+++ b/avmedia/source/vlc/wrapper/Wrapper.hxx
@@ -6,9 +6,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
+
+#ifndef INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_WRAPPER_HXX
+#define INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_WRAPPER_HXX
+
 #include "Common.hxx"
 #include "EventHandler.hxx"
 #include "EventManager.hxx"
 #include "Instance.hxx"
 #include "Media.hxx"
-#include "Player.hxx"
\ No newline at end of file
+#include "Player.hxx"
+
+#endif // INCLUDED_AVMEDIA_SOURCE_VLC_WRAPPER_WRAPPER_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basegfx/source/workbench/gauss.hxx b/basegfx/source/workbench/gauss.hxx
index 6cd63ce..160fe31 100644
--- a/basegfx/source/workbench/gauss.hxx
+++ b/basegfx/source/workbench/gauss.hxx
@@ -38,6 +38,10 @@
 
     @return true, if elimination succeeded.
  */
+
+#ifndef INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
+#define INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
+
 template <class Matrix, typename BaseType>
 bool eliminate(     Matrix&         matrix,
                     int             rows,
@@ -163,4 +167,6 @@ bool solve( Matrix&     matrix,
     return false;
 }
 
+#endif // INCLUDED_BASEGFX_SOURCE_WORKBENCH_GAUSS_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/view/inc/3DChartObjects.hxx b/chart2/source/view/inc/3DChartObjects.hxx
index fb7147c..cc3d814 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_3DCHARTOBJECTS_HXX
+#define INCLUDED_CHART2_SOURCE_VIEW_INC_3DCHARTOBJECTS_HXX
+
 #include <glm/glm.hpp>
 #include <tools/color.hxx>
 #include <vcl/bitmapex.hxx>
@@ -153,4 +156,6 @@ private:
 
 }
 
+#endif // INCLUDED_CHART2_SOURCE_VIEW_INC_3DCHARTOBJECTS_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/view/main/OpenGLRender.hxx b/chart2/source/view/main/OpenGLRender.hxx
index 038b5fc..e5f0799 100644
--- a/chart2/source/view/main/OpenGLRender.hxx
+++ b/chart2/source/view/main/OpenGLRender.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_CHART2_SOURCE_VIEW_MAIN_OPENGLRENDER_HXX
+#define INCLUDED_CHART2_SOURCE_VIEW_MAIN_OPENGLRENDER_HXX
+
 #include <vcl/bitmapex.hxx>
 #include <com/sun/star/drawing/HomogenMatrix3.hpp>
 #include <com/sun/star/drawing/XDrawPage.hpp>
@@ -240,4 +243,6 @@ private:
 #endif
 };
 
+#endif // INCLUDED_CHART2_SOURCE_VIEW_MAIN_OPENGLRENDER_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mozab/MConfigAccess.hxx b/connectivity/source/drivers/mozab/MConfigAccess.hxx
index c28ecb8..9e7048e 100644
--- a/connectivity/source/drivers/mozab/MConfigAccess.hxx
+++ b/connectivity/source/drivers/mozab/MConfigAccess.hxx
@@ -18,6 +18,7 @@
  */
 
 #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_MCONFIGACCESS_HXX
+#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_MCONFIGACCESS_HXX
 
 #include <sal/types.h>
 
diff --git a/connectivity/source/drivers/mozab/MExtConfigAccess.hxx b/connectivity/source/drivers/mozab/MExtConfigAccess.hxx
index f93c6d8..6eed951 100644
--- a/connectivity/source/drivers/mozab/MExtConfigAccess.hxx
+++ b/connectivity/source/drivers/mozab/MExtConfigAccess.hxx
@@ -18,6 +18,7 @@
  */
 
 #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_MEXTCONFIGACCESS_HXX
+#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_MEXTCONFIGACCESS_HXX
 
 // This is the extended version (for use on the SO side of the driver) of MConfigAccess
 // (which is for use on the mozilla side only)
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx
index efffeea..e76ea3e 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_CONNECTIVITY/SOURCE/DRIVERS/MOZAB/BOOTSTRAP/MNSPROFILE.HXX
+#define INCLUDED_CONNECTIVITY/SOURCE/DRIVERS/MOZAB/BOOTSTRAP/MNSPROFILE.HXX
+
 #include "mozilla_nsprofile.h"
 
 #define _MAX_LENGTH   256
@@ -64,4 +67,6 @@ public:
 extern nsresult ConvertStringToUnicode(nsCString& aCharset, const char* inString, nsAString& outString);
 extern nsresult GetPlatformCharset(nsCString& aCharset);
 
+#endif // INCLUDED_CONNECTIVITY/SOURCE/DRIVERS/MOZAB/BOOTSTRAP/MNSPROFILE.HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDirServiceProvider.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDirServiceProvider.hxx
index 3a31c29..1dc526b 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDirServiceProvider.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDirServiceProvider.hxx
@@ -17,6 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSPROFILEDIRSERVICEPROVIDER_HXX
+#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSPROFILEDIRSERVICEPROVIDER_HXX
 
 #include "mozilla_nsprofiledirserviceprovider.h"
 
@@ -73,4 +75,6 @@ protected:
 
 nsresult NS_NewProfileDirServiceProvider( nsProfileDirServiceProvider** aProvider);
 
+#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MOZAB_BOOTSTRAP_MNSPROFILEDIRSERVICEPROVIDER_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx
index 1de49d4..47e5f50 100644
--- a/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx
+++ b/connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.hxx
@@ -34,6 +34,9 @@
  *
  ************************************************************************/
 
+#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSETMETADATA_HXX
+#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSETMETADATA_HXX
+
 #include <cppuhelper/implbase1.hxx>
 #include <com/sun/star/sdbc/XResultSetMetaData.hpp>
 
@@ -88,4 +91,6 @@ namespace pq_sdbc_driver
 
 }
 
+#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_SEQUENCERESULTSETMETADATA_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
index 6afc1dd..247bd50 100644
--- a/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
+++ b/connectivity/source/drivers/postgresql/pq_updateableresultset.hxx
@@ -34,6 +34,9 @@
  *
  ************************************************************************/
 
+#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_UPDATEABLERESULTSET_HXX
+#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_UPDATEABLERESULTSET_HXX
+
 #include "pq_sequenceresultset.hxx"
 #include "pq_resultsetmetadata.hxx"
 
@@ -175,4 +178,6 @@ public: // XResultSetMetaDataSupplier
 
 }
 
+#endif // INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_UPDATEABLERESULTSET_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list