diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-18 07:55:01 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-03-30 15:20:19 +0000 |
commit | 39a38d5679084b515276285c044d8a27e671adb1 (patch) | |
tree | 8f72b00aa4a7db53eb8e193119033edf1ae9b0e4 /src/plugins/texteditor/textdocument.h | |
parent | 6b805c217273b9d169aa7e8a78949e17179016bf (diff) | |
download | qt-creator-39a38d5679084b515276285c044d8a27e671adb1.tar.gz |
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce
Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/textdocument.h')
-rw-r--r-- | src/plugins/texteditor/textdocument.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/texteditor/textdocument.h b/src/plugins/texteditor/textdocument.h index f4eebcc46e..87a7d6ac2a 100644 --- a/src/plugins/texteditor/textdocument.h +++ b/src/plugins/texteditor/textdocument.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef BASETEXTDOCUMENT_H -#define BASETEXTDOCUMENT_H +#pragma once #include "texteditor_global.h" @@ -157,5 +156,3 @@ private: typedef QSharedPointer<TextDocument> TextDocumentPtr; } // namespace TextEditor - -#endif // BASETEXTDOCUMENT_H |