sw/inc/IGrammarContact.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 93b75323205b1337643c7df2d5aa0eaeb49f888b Author: Calvince Otieno <sir_ko...@yahoo.com> AuthorDate: Fri Oct 14 02:07:47 2022 +0300 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Fri Oct 14 10:43:31 2022 +0200 tdf#143148 Use pragma once instead of include guards in the header file Change-Id: I6566cfb722bbe2779e9a5b32fa83f17353457dc3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141351 Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/sw/inc/IGrammarContact.hxx b/sw/inc/IGrammarContact.hxx index 68be355807ef..a2e4cecfeb2e 100644 --- a/sw/inc/IGrammarContact.hxx +++ b/sw/inc/IGrammarContact.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_IGRAMMARCONTACT_HXX -#define INCLUDED_SW_INC_IGRAMMARCONTACT_HXX +#pragma once struct SwPosition; class SwTextNode; @@ -73,6 +72,4 @@ IGrammarContact* getGrammarContact(const SwTextNode&); */ void finishGrammarCheck(SwTextNode&); -#endif // INCLUDED_SW_INC_IGRAMMARCONTACT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */