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>
This commit is contained in:
parent
1006fd848b
commit
6201b6468f
4 changed files with 4 additions and 15 deletions
|
@ -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: */
|
||||
|
|
|
@ -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: */
|
||||
|
|
|
@ -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: */
|
||||
|
|
|
@ -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: */
|
||||
|
|
Loading…
Reference in a new issue