lotuswordpro/inc/localtime.hxx      |    5 +----
 lotuswordpro/inc/lwpatomholder.hxx  |    5 +----
 lotuswordpro/inc/lwpbasetype.hxx    |    5 +----
 lotuswordpro/inc/lwpbookmarkmgr.hxx |    4 +---
 4 files changed, 4 insertions(+), 15 deletions(-)

New commits:
commit 6201b6468f53338f833dd93809cb4a78458114aa
Author:     jpuronah <joel.puron...@gmail.com>
AuthorDate: Mon Apr 3 11:21:23 2023 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Mon Apr 3 12:32:47 2023 +0200

    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.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

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

Reply via email to