sw/inc/AnnotationWin.hxx | 5 +---- sw/inc/BorderCacheOwner.hxx | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-)
New commits: commit 0bc1f4aba10194547a8169eb568cc62e84ec89db Author: Sinduja Y <sinduja.c...@gmail.com> AuthorDate: Mon Feb 7 16:28:02 2022 +0100 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Wed Feb 9 08:43:13 2022 +0100 tdf#143148 Use pragma once instead of include guards Change-Id: I17183f45dfad71cb306c31d4e70d8dcbeda5cb48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129672 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx index bc5a4293b33d..f5d3c167c24e 100644 --- a/sw/inc/AnnotationWin.hxx +++ b/sw/inc/AnnotationWin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_ANNOTATIONWIN_HXX -#define INCLUDED_SW_INC_ANNOTATIONWIN_HXX +#pragma once #include <basegfx/range/b2drange.hxx> #include <editeng/outlobj.hxx> @@ -280,6 +279,4 @@ class SAL_DLLPUBLIC_RTTI SwAnnotationWin final : public InterimItemWindow } // end of namespace sw::annotation -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/BorderCacheOwner.hxx b/sw/inc/BorderCacheOwner.hxx index ba6f093532f0..e59bc65ee773 100644 --- a/sw/inc/BorderCacheOwner.hxx +++ b/sw/inc/BorderCacheOwner.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SW_INC_CACHEOWNER_HXX -#define INCLUDED_SW_INC_CACHEOWNER_HXX +#pragma once #include <sal/types.h> #include "swdllapi.h" @@ -45,5 +44,4 @@ public: void InvalidateInSwCache(const sal_uInt16); }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */