summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheet-2312 <surana.heet1811@gmail.com>2021-03-01 11:36:46 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-01 12:59:39 +0100
commit311c177f8337403e65fe93ee03129382582b1b5d (patch)
tree16c4a98a70acdb5c03c2ccd032f62770b0e933ab
parent1a9dd0084d2c6057eca57cf069c77a7bad4d9724 (diff)
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@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--sw/inc/ndtxt.hxx5
1 files changed, 1 insertions, 4 deletions
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: */