diff options
author | Jens Carl <j.carl43@gmx.de> | 2014-05-30 21:07:48 +0000 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-06-01 16:07:41 +0000 |
commit | f3e1f476e9cffb75d0620ab2dcfdc1ea077cd9d3 (patch) | |
tree | 35b067fb63eed963813314b1971e6489c98f362b | |
parent | ee0714cb95c14b889074d4baa584eba8e285c8e3 (diff) |
fdo#68849: Add header guards to all include files
Added header guards to files in directories sal/, sal/, and scripting/
Change-Id: Ieb7f224f2d27bd671618c516f47f5b7f08c1d294
Reviewed-on: https://gerrit.libreoffice.org/9582
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
-rw-r--r-- | sal/qa/inc/valueequal.hxx | 5 | ||||
-rw-r--r-- | sal/textenc/convertisciidevangari.hxx | 5 | ||||
-rw-r--r-- | sax/inc/xml2utf.hxx | 5 | ||||
-rw-r--r-- | scripting/source/dlgprov/DialogModelProvider.hxx | 6 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.hxx | 5 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProviderFactory.hxx | 6 |
6 files changed, 32 insertions, 0 deletions
diff --git a/sal/qa/inc/valueequal.hxx b/sal/qa/inc/valueequal.hxx index 563314d9e82e..0a11a2a89428 100644 --- a/sal/qa/inc/valueequal.hxx +++ b/sal/qa/inc/valueequal.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_SAL_QA_INC_VALUEEQUAL_HXX +#define INCLUDED_SAL_QA_INC_VALUEEQUAL_HXX + #include <sal/config.h> #include <math.h> @@ -114,4 +117,6 @@ bool is_double_equal(double x, double y) return is_equal<double>(x, y, PREC_double); } +#endif // INCLUDED_SAL_QA_INC_VALUEEQUAL_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sal/textenc/convertisciidevangari.hxx b/sal/textenc/convertisciidevangari.hxx index b3f5f309836d..89aeeaef723e 100644 --- a/sal/textenc/convertisciidevangari.hxx +++ b/sal/textenc/convertisciidevangari.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef INCLUDED_SAL_TEXTENC_CONVERTISCIIDEVANGARI_HXX +#define INCLUDED_SAL_TEXTENC_CONVERTISCIIDEVANGARI_HXX + #include <sal/types.h> sal_Size ImplConvertIsciiDevanagariToUnicode(void const * pData, @@ -31,4 +34,6 @@ void ImplResetUnicodeToIsciiDevanagariContext(void * pContext); void ImplDestroyUnicodeToIsciiDevanagariContext(void * pContext); +#endif // INCLUDED_SAL_TEXTENC_CONVERTISCIIDEVANGARI_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sax/inc/xml2utf.hxx b/sax/inc/xml2utf.hxx index 0fa9fc7411c9..526dd13fc7a0 100644 --- a/sax/inc/xml2utf.hxx +++ b/sax/inc/xml2utf.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_SAX_INC_XML2UTF_HXX +#define INCLUDED_SAX_INC_XML2UTF_HXX + #include <sal/types.h> namespace sax_expatwrap { @@ -131,4 +134,6 @@ private: }; } +#endif // INCLUDED_SAX_INC_XML2UTF_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/dlgprov/DialogModelProvider.hxx b/scripting/source/dlgprov/DialogModelProvider.hxx index 87e7c4d6f7c2..2a0696b2e7de 100644 --- a/scripting/source/dlgprov/DialogModelProvider.hxx +++ b/scripting/source/dlgprov/DialogModelProvider.hxx @@ -16,6 +16,10 @@ * 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_SCRIPTING_SOURCE_DLGPROV_DIALOGMODELPROVIDER_HXX +#define INCLUDED_SCRIPTING_SOURCE_DLGPROV_DIALOGMODELPROVIDER_HXX + #include "sal/config.h" #include "cppuhelper/factory.hxx" #include "cppuhelper/implbase4.hxx" @@ -81,4 +85,6 @@ private: }; } // closing anonymous implementation namespace +#endif // INCLUDED_SCRIPTING_SOURCE_DLGPROV_DIALOGMODELPROVIDER_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.hxx b/scripting/source/provider/BrowseNodeFactoryImpl.hxx index 4ceeecbccca2..35dd242b79ab 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.hxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_SCRIPTING_SOURCE_PROVIDER_BROWSENODEFACTORYIMPL_HXX +#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_BROWSENODEFACTORYIMPL_HXX + #include <rtl/ustring.hxx> #include <cppuhelper/implbase2.hxx> @@ -77,4 +80,6 @@ public: } // namespace browsenodefactory +#endif // INCLUDED_SCRIPTING_SOURCE_PROVIDER_BROWSENODEFACTORYIMPL_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/MasterScriptProviderFactory.hxx b/scripting/source/provider/MasterScriptProviderFactory.hxx index 462a83022ee1..a732a8438670 100644 --- a/scripting/source/provider/MasterScriptProviderFactory.hxx +++ b/scripting/source/provider/MasterScriptProviderFactory.hxx @@ -16,6 +16,10 @@ * 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_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDERFACTORY_HXX +#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDERFACTORY_HXX + #include "rtl/ustring.hxx" #include "rtl/ref.hxx" #include <cppuhelper/implbase2.hxx> @@ -74,4 +78,6 @@ public: } // namespace func_provider +#endif // INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDERFACTORY_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |