summaryrefslogtreecommitdiff
path: root/basic/inc/basic.hrc
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-08-04 21:07:00 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-04 08:57:06 +0200
commitfb4ddf2fc997f3b0c193b6dce22a0b1313f24240 (patch)
tree1960f6c0165aac32633a948d4c055d65298b09de /basic/inc/basic.hrc
parentdf9ff47f984bfb8ce265cb73ec10a3dd5837bd10 (diff)
tdf#124176 Use #pragma once in basic
This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: Ief7f29d8efaa3d6ac417080f3147a087844621a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100128 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'basic/inc/basic.hrc')
-rw-r--r--basic/inc/basic.hrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/basic/inc/basic.hrc b/basic/inc/basic.hrc
index c860fce7aaed..1a063615318e 100644
--- a/basic/inc/basic.hrc
+++ b/basic/inc/basic.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_BASIC_INC_STRINGS_HRC
-#define INCLUDED_BASIC_INC_STRINGS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -156,6 +155,4 @@ std::pair<const char*, ErrCode> const RID_BASIC_START[] =
{ nullptr, ERRCODE_NONE }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */