diff options
author | jpuronah <joel.puronaho@gmail.com> | 2023-04-03 11:21:23 +0300 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2023-04-03 12:32:47 +0200 |
commit | 6201b6468f53338f833dd93809cb4a78458114aa (patch) | |
tree | 99d086b836358a84d04d1d8e631e3014aad6dd42 /lotuswordpro/inc | |
parent | 1006fd848ba7c67927472e53df7f3b6f682fadfb (diff) |
tdf#143148: Use pragma once instead of include guards
Change-Id: I8369e0bdb6a01838d87e7cddc1cbaed911fe461a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149952
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/localtime.hxx | 5 | ||||
-rw-r--r-- | lotuswordpro/inc/lwpatomholder.hxx | 5 | ||||
-rw-r--r-- | lotuswordpro/inc/lwpbasetype.hxx | 5 | ||||
-rw-r--r-- | lotuswordpro/inc/lwpbookmarkmgr.hxx | 4 |
4 files changed, 4 insertions, 15 deletions
diff --git a/lotuswordpro/inc/localtime.hxx b/lotuswordpro/inc/localtime.hxx index a9fac8ceaf74..e0106f2304c4 100644 --- a/lotuswordpro/inc/localtime.hxx +++ b/lotuswordpro/inc/localtime.hxx @@ -53,8 +53,7 @@ * * ************************************************************************/ -#ifndef INCLUDED_LOTUSWORDPRO_INC_LOCALTIME_HXX -#define INCLUDED_LOTUSWORDPRO_INC_LOCALTIME_HXX +#pragma once #include <tools/long.hxx> @@ -83,6 +82,4 @@ struct LtTm bool LtgGmTime(tools::Long rtime, LtTm& rtm); bool LtgLocalTime(tools::Long rtime, LtTm& rtm); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/inc/lwpatomholder.hxx b/lotuswordpro/inc/lwpatomholder.hxx index 321b5cb8f20d..9cf65973de11 100644 --- a/lotuswordpro/inc/lwpatomholder.hxx +++ b/lotuswordpro/inc/lwpatomholder.hxx @@ -53,8 +53,7 @@ * * ************************************************************************/ -#ifndef INCLUDED_LOTUSWORDPRO_INC_LWPATOMHOLDER_HXX -#define INCLUDED_LOTUSWORDPRO_INC_LWPATOMHOLDER_HXX +#pragma once #include <config_lgpl.h> #include "lwpdefs.hxx" @@ -81,6 +80,4 @@ public: }; inline bool LwpAtomHolder::HasValue() const { return (m_nAtom != BAD_ATOM); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/inc/lwpbasetype.hxx b/lotuswordpro/inc/lwpbasetype.hxx index c000501c511a..d91eab833882 100644 --- a/lotuswordpro/inc/lwpbasetype.hxx +++ b/lotuswordpro/inc/lwpbasetype.hxx @@ -59,8 +59,7 @@ * PanoseNumber, Point ************************************************************************/ -#ifndef INCLUDED_LOTUSWORDPRO_INC_LWPBASETYPE_HXX -#define INCLUDED_LOTUSWORDPRO_INC_LWPBASETYPE_HXX +#pragma once #include "lwpobjstrm.hxx" #include <config_lgpl.h> @@ -122,6 +121,4 @@ private: void LwpPoint::SetX(sal_Int32 nX) { m_nX = nX; } void LwpPoint::SetY(sal_Int32 nY) { m_nY = nY; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/inc/lwpbookmarkmgr.hxx b/lotuswordpro/inc/lwpbookmarkmgr.hxx index 3cc02b121a66..7d5490cc6cad 100644 --- a/lotuswordpro/inc/lwpbookmarkmgr.hxx +++ b/lotuswordpro/inc/lwpbookmarkmgr.hxx @@ -58,8 +58,7 @@ * For LWP filter architecture prototype ************************************************************************/ -#ifndef INCLUDED_LOTUSWORDPRO_INC_LWPBOOKMARKMGR_HXX -#define INCLUDED_LOTUSWORDPRO_INC_LWPBOOKMARKMGR_HXX +#pragma once #include <config_lgpl.h> @@ -83,5 +82,4 @@ private: std::map<OUString, rtl::Reference<XFBookmarkEnd>> m_MapEnd; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |