Skip to content

Commit 93b7532

Browse files
Calvince Otienoilmari-lauhakangas
Calvince Otieno
authored andcommitted
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 <[email protected]> Reviewed-by: Ilmari Lauhakangas <[email protected]>
1 parent bdfcad5 commit 93b7532

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sw/inc/IGrammarContact.hxx

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
1818
*/
1919

20-
#ifndef INCLUDED_SW_INC_IGRAMMARCONTACT_HXX
21-
#define INCLUDED_SW_INC_IGRAMMARCONTACT_HXX
20+
#pragma once
2221

2322
struct SwPosition;
2423
class SwTextNode;
@@ -73,6 +72,4 @@ IGrammarContact* getGrammarContact(const SwTextNode&);
7372
*/
7473
void finishGrammarCheck(SwTextNode&);
7574

76-
#endif // INCLUDED_SW_INC_IGRAMMARCONTACT_HXX
77-
7875
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

0 commit comments

Comments
 (0)