diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-08-04 21:07:00 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-04 08:57:06 +0200 |
commit | fb4ddf2fc997f3b0c193b6dce22a0b1313f24240 (patch) | |
tree | 1960f6c0165aac32633a948d4c055d65298b09de /basic/inc/strings.hrc | |
parent | df9ff47f984bfb8ce265cb73ec10a3dd5837bd10 (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/strings.hrc')
-rw-r--r-- | basic/inc/strings.hrc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/basic/inc/strings.hrc b/basic/inc/strings.hrc index c257ac2fd225..ff8e0fc22618 100644 --- a/basic/inc/strings.hrc +++ b/basic/inc/strings.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) @@ -33,6 +32,4 @@ #define IDS_SBERR_TERMINATED NC_("IDS_SBERR_TERMINATED", "The macro running has been interrupted") -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |