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>
This commit is contained in:
Jens Carl 2014-05-30 21:07:48 +00:00 committed by Thomas Arnhold
parent ee0714cb95
commit f3e1f476e9
6 changed files with 32 additions and 0 deletions

View file

@ -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: */

View file

@ -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: */

View file

@ -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: */

View file

@ -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: */

View file

@ -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: */

View file

@ -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: */