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

Jens Carl j.carl43 at gmx.de
Thu May 29 05:40:20 PDT 2014


 extensions/source/bibliography/bibtools.hxx          |    3 ++-
 extensions/source/nsplugin/source/npshell.hxx        |    5 +++++
 extensions/source/update/check/download.hxx          |    3 +++
 extensions/source/update/check/updatecheck.hxx       |    5 +++++
 extensions/source/update/check/updatecheckconfig.hxx |    5 +++++
 extensions/source/update/check/updateprotocol.hxx    |    5 +++++
 6 files changed, 25 insertions(+), 1 deletion(-)

New commits:
commit 49a0d8eedf6758c8bceaf7824945167d669b71ff
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Wed May 28 19:47:51 2014 +0000

    fdo#68849: Add header guards to all include files
    
    Added header guards to files in directory extensions/*
    
    Change-Id: If6a1642d726732fa05735c721f31b6fc7c405608
    Reviewed-on: https://gerrit.libreoffice.org/9537
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/extensions/source/bibliography/bibtools.hxx b/extensions/source/bibliography/bibtools.hxx
index 276d99d..4b0af71 100644
--- a/extensions/source/bibliography/bibtools.hxx
+++ b/extensions/source/bibliography/bibtools.hxx
@@ -18,6 +18,7 @@
  */
 
 #ifndef INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBTOOLS_HXX
+#define INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBTOOLS_HXX
 
 #include <vcl/taskpanelist.hxx>
 
@@ -39,6 +40,6 @@ namespace bib
     }
 }
 
-#endif
+#endif // INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBTOOLS_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/nsplugin/source/npshell.hxx b/extensions/source/nsplugin/source/npshell.hxx
index a59175a2..343f3b0 100644
--- a/extensions/source/nsplugin/source/npshell.hxx
+++ b/extensions/source/nsplugin/source/npshell.hxx
@@ -26,6 +26,9 @@
  *
  ************************************************************************/
 
+#ifndef INCLUDED_EXTENSIONS_SOURCE_NSPLUGIN_SOURCE_NPSHELL_HXX
+#define INCLUDED_EXTENSIONS_SOURCE_NSPLUGIN_SOURCE_NPSHELL_HXX
+
 #ifdef UNIX
 
 #ifndef MOZ_X11
@@ -91,4 +94,6 @@ typedef struct _PluginInstance
 /* Extern functions */
 extern "C" NPMIMEType dupMimeType(NPMIMEType type);
 
+#endif // INCLUDED_EXTENSIONS_SOURCE_NSPLUGIN_SOURCE_NPSHELL_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/update/check/download.hxx b/extensions/source/update/check/download.hxx
index bb62736..32d8757 100644
--- a/extensions/source/update/check/download.hxx
+++ b/extensions/source/update/check/download.hxx
@@ -17,6 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_DOWNLOAD_HXX
+#define INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_DOWNLOAD_HXX
 
 #include <com/sun/star/uno/XComponentContext.hpp>
 
@@ -76,5 +78,6 @@ private:
     const rtl::Reference< DownloadInteractionHandler > m_aHandler;
 };
 
+#define // INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_DOWNLOAD_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx
index f4cd2cd..82e4275 100644
--- a/extensions/source/update/check/updatecheck.hxx
+++ b/extensions/source/update/check/updatecheck.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATECHECK_HXX
+#define INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATECHECK_HXX
+
 #include <com/sun/star/beans/NamedValue.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/task/XInteractionHandler.hpp>
@@ -178,4 +181,6 @@ UpdateCheckInitData::operator() () const
     return rtl::Reference< UpdateCheck > (new UpdateCheck());
 }
 
+#endif // INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATECHECK_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx
index fd9374a..0ad53f9 100644
--- a/extensions/source/update/check/updatecheckconfig.hxx
+++ b/extensions/source/update/check/updatecheckconfig.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATECHECKCONFIG_HXX
+#define INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATECHECKCONFIG_HXX
+
 #include <cppuhelper/implbase3.hxx>
 #include <com/sun/star/beans/NamedValue.hpp>
 #include <com/sun/star/container/XNameContainer.hpp>
@@ -227,4 +230,6 @@ T getValue( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Name
     return T();
 }
 
+#endif // INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATECHECKCONFIG_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/update/check/updateprotocol.hxx b/extensions/source/update/check/updateprotocol.hxx
index 6e6ba30..4d407ec 100644
--- a/extensions/source/update/check/updateprotocol.hxx
+++ b/extensions/source/update/check/updateprotocol.hxx
@@ -17,6 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#ifndef INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATEPROTOCOL_HXX
+#define INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATEPROTOCOL_HXX
+
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <com/sun/star/task/XInteractionHandler.hpp>
 #include <com/sun/star/deployment/UpdateInformationProvider.hpp>
@@ -60,4 +63,6 @@ bool storeExtensionUpdateInfos(
     const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< OUString > > &rUpdateInfos
 );
 
+#endif // INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_UPDATEPROTOCOL_HXX
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list