Kaydet (Commit) 7610a80a authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Thomas Arnhold

fdo#68849: Add header guards to all include files

Added header guards to files in directories l10ntools/, lotuswordpro/, and rsc/

Change-Id: I9c034d4bb5c92d78378bda4658d43a8b603d5281
Reviewed-on: https://gerrit.libreoffice.org/9581Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst d9f93ced
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX
#define INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX
#include "xmlparse.hxx" #include "xmlparse.hxx"
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
...@@ -56,4 +59,6 @@ private: ...@@ -56,4 +59,6 @@ private:
void ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile ); void ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile );
}; };
#endif // INCLUDED_L10NTOOLS_INC_HELPMERGE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_CLONE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_CLONE_HXX
namespace detail namespace detail
{ {
...@@ -63,4 +66,6 @@ T* clone(T* const other) ...@@ -63,4 +66,6 @@ T* clone(T* const other)
return other ? ::detail::cloner<T, ::detail::has_clone<T>::value>::clone(other) : 0; return other ? ::detail::cloner<T, ::detail::has_clone<T>::value>::clone(other) : 0;
} }
#endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_CLONE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -58,6 +58,10 @@ ...@@ -58,6 +58,10 @@
* Mar 2005 revised for new processing procedure. * Mar 2005 revised for new processing procedure.
* Jan 2005 created * Jan 2005 created
****************************************************************************/ ****************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWFILELOADER_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWFILELOADER_HXX
#include <assert.h> #include <assert.h>
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include "lwpheader.hxx" #include "lwpheader.hxx"
...@@ -83,4 +87,6 @@ public: ...@@ -83,4 +87,6 @@ public:
// end add // end add
}; };
#endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWFILELOADER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -58,6 +58,10 @@ ...@@ -58,6 +58,10 @@
* Mar 2005 revised for new processing procedure. * Mar 2005 revised for new processing procedure.
* Jan 2005 created * Jan 2005 created
****************************************************************************/ ****************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWGROUPLOADERV0102_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWGROUPLOADERV0102_HXX
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include "lwpheader.hxx" #include "lwpheader.hxx"
#include "assert.h" #include "assert.h"
...@@ -86,4 +90,6 @@ public: ...@@ -86,4 +90,6 @@ public:
// end add // end add
}; };
#endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSDWGROUPLOADERV0102_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -62,6 +62,9 @@ ...@@ -62,6 +62,9 @@
Jan 2005 Created Jan 2005 Created
************************************************************************/ ************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPUNOHEADER_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPUNOHEADER_HXX
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase3.hxx>
#include <cppuhelper/factory.hxx> #include <cppuhelper/factory.hxx>
...@@ -74,4 +77,6 @@ ...@@ -74,4 +77,6 @@
#include "xfilter/xfglobal.hxx" #include "xfilter/xfglobal.hxx"
#endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPUNOHEADER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -57,8 +57,9 @@ ...@@ -57,8 +57,9 @@
* @file * @file
* Style of Fontwork object. * Style of Fontwork object.
************************************************************************/ ************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFFONTWORKSTYLE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFFONTWORKSTYLE_HXX #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFFONTWORKSTYLE_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFFONTWORKSTYLE_HXX
#include "xfstyle.hxx" #include "xfstyle.hxx"
...@@ -150,6 +151,6 @@ inline enumXFFWShadow XFFontWorkStyle::GetShadowType() const ...@@ -150,6 +151,6 @@ inline enumXFFWShadow XFFontWorkStyle::GetShadowType() const
return m_eShadowType; return m_eShadowType;
} }
#endif #endif // INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFFONTWORKSTYLE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_RSC_INC_RSCARRAY_HXX #ifndef INCLUDED_RSC_INC_RSCARRAY_HXX
#define INCLUDED_RSC_INC_RSCARRAY_HXX #define INCLUDED_RSC_INC_RSCARRAY_HXX
...@@ -119,6 +120,6 @@ public: ...@@ -119,6 +120,6 @@ public:
virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE;
}; };
#endif //_RSCARRAY #endif // INCLUDED_RSC_INC_RSCARRAY_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_RSC_INC_RSCLEX_HXX
#define INCLUDED_RSC_INC_RSCLEX_HXX
#include <boost/unordered_set.hpp> #include <boost/unordered_set.hpp>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <rtl/string.hxx> #include <rtl/string.hxx>
...@@ -112,4 +115,6 @@ extern RscExpression * pExp; ...@@ -112,4 +115,6 @@ extern RscExpression * pExp;
extern ObjectStack S; extern ObjectStack S;
extern StringContainer* pStringContainer; extern StringContainer* pStringContainer;
#endif // INCLUDED_RSC_INC_RSCLEX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment