summaryrefslogtreecommitdiff
path: root/uui/inc
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 08:28:23 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 10:54:09 +0100
commit1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 (patch)
treed4dd124d4dbc0b12703b12d4eb945d11c063c297 /uui/inc
parent039e90ec011157c9e851221a53ec62d33acb71d1 (diff)
tdf#124176 Use pragma once in u*
ucb, uno*, uui Change-Id: Ic4b6d541eb0df8bf7bceddf178ebb5177ad2b87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112046 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'uui/inc')
-rw-r--r--uui/inc/ids.hrc5
-rw-r--r--uui/inc/ids.hxx5
-rw-r--r--uui/inc/strings.hrc5
3 files changed, 3 insertions, 12 deletions
diff --git a/uui/inc/ids.hrc b/uui/inc/ids.hrc
index 744542bf7697..6ab1882b3611 100644
--- a/uui/inc/ids.hrc
+++ b/uui/inc/ids.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UUI_INC_IDS_HRC
-#define INCLUDED_UUI_INC_IDS_HRC
+#pragma once
#include <vcl/errcode.hxx>
@@ -171,6 +170,4 @@ const std::pair<const char*, ErrCode> RID_UUI_ERRHDL[] =
#define STR_UUI_SSLWARN_INVALID NC_("STR_UUI_SSLWARN_INVALID", "The certificate could not be validated. You should examine this site's certificate carefully.\n\nIf you suspect the certificate shown, please cancel the connection and notify the site administrator.")
#define STR_UUI_SSLWARN_INVALID_TITLE NC_("STR_UUI_SSLWARN_INVALID_TITLE", "Security Warning: Domain Name Mismatch")
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/inc/ids.hxx b/uui/inc/ids.hxx
index 71beff973f02..32ba356a4ee5 100644
--- a/uui/inc/ids.hxx
+++ b/uui/inc/ids.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UUI_INC_IDS_HXX
-#define INCLUDED_UUI_INC_IDS_HXX
+#pragma once
#include <vcl/errcode.hxx>
@@ -88,6 +87,4 @@
#define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY ErrCode(ErrCodeArea::Uui, 63)
#define ERRCODE_UUI_IO_EXOTICFILEFORMAT ErrCode(ErrCodeArea::Uui, 64)
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/uui/inc/strings.hrc b/uui/inc/strings.hrc
index ed2d00550273..364175298db7 100644
--- a/uui/inc/strings.hrc
+++ b/uui/inc/strings.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_UUI_INC_STRINGS_HRC
-#define INCLUDED_UUI_INC_STRINGS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -77,6 +76,4 @@
#define STR_LOCKCORRUPT_MSG NC_("STR_LOCKCORRUPT_MSG", "The lock file is corrupted and probably empty. Opening the document read-only and closing it again removes the corrupted lock file.")
#define STR_LOCKCORRUPT_OPENREADONLY_BTN NC_("STR_LOCKCORRUPT_OPENREADONLY_BTN", "Open ~Read-Only")
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */