sw/inc/ndtxt.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 311c177f8337403e65fe93ee03129382582b1b5d Author: heet-2312 <[email protected]> AuthorDate: Mon Mar 1 11:36:46 2021 +0530 Commit: Ilmari Lauhakangas <[email protected]> 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 <[email protected]> Tested-by: Ilmari Lauhakangas <[email protected]> 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: */ _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
