[Libreoffice-commits] core.git: sw/source
Harshita Nag (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 25 09:25:15 UTC 2021
sw/source/core/text/itrtxt.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 9a94680d6b9f441167644b98c307da3a89963a32
Author: Harshita Nag <nagharshita16 at gmail.com>
AuthorDate: Fri Jun 25 11:08:00 2021 +0530
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Fri Jun 25 11:24:34 2021 +0200
tdf#124176 Use pragma once instead of include guards
Change-Id: I5f0342f07f9227e45ef12c3c76015aeee4c2a0c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117833
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
Tested-by: Jenkins
diff --git a/sw/source/core/text/itrtxt.hxx b/sw/source/core/text/itrtxt.hxx
index 960d383fe7cf..a547baebd59f 100644
--- a/sw/source/core/text/itrtxt.hxx
+++ b/sw/source/core/text/itrtxt.hxx
@@ -16,8 +16,8 @@
* 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_SW_SOURCE_CORE_TEXT_ITRTXT_HXX
-#define INCLUDED_SW_SOURCE_CORE_TEXT_ITRTXT_HXX
+#pragma once
+
#include <swtypes.hxx>
#include "itratr.hxx"
#include "inftxt.hxx"
@@ -335,6 +335,6 @@ inline SwTwips SwTextMargin::Left() const
return (mnDropLines >= m_nLineNr && 1 != m_nLineNr) ? mnFirst + mnDropLeft : mnLeft;
}
-#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list