[Libreoffice-commits] core.git: sw/inc
heet-2312 (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 1 12:00:23 UTC 2021
sw/inc/ndtxt.hxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 311c177f8337403e65fe93ee03129382582b1b5d
Author: heet-2312 <surana.heet1811 at gmail.com>
AuthorDate: Mon Mar 1 11:36:46 2021 +0530
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Mon Mar 1 12:59:39 2021 +0100
tdf#124176 Use pragma once in sw/inc/ndtxt.hxx
Change-Id: I75b6788e21ac010daea1cac5661887a0812d1773
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111729
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index cc071f28b70e..29ea21a33adb 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -16,8 +16,7 @@
* 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_INC_NDTXT_HXX
-#define INCLUDED_SW_INC_NDTXT_HXX
+#pragma once
#include <cppuhelper/weakref.hxx>
@@ -868,6 +867,4 @@ inline sal_Int32 SwTextNode::GetSpaceLeft() const
return TXTNODE_MAX-m_Text.getLength();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list