summaryrefslogtreecommitdiff
path: root/fpicker/inc
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 08:21:49 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 13:07:09 +0100
commit90c978f839e5029c69b4acb70f37909ee3016614 (patch)
treeac5c8cd53cf72ddc2336d53ab3f4b40661e30091 /fpicker/inc
parent88eb9f73ff32ed5a2cf696de9e076e7dfee36d8d (diff)
tdf#124176 Use pragma once in f*
filter, forms, fpicker, framework Change-Id: I55a25ad2dc3749e63465e638e8eeea3c322eabbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112047 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'fpicker/inc')
-rw-r--r--fpicker/inc/bitmaps.hlst5
-rw-r--r--fpicker/inc/fpsofficeResMgr.hxx5
-rw-r--r--fpicker/inc/strings.hrc5
3 files changed, 3 insertions, 12 deletions
diff --git a/fpicker/inc/bitmaps.hlst b/fpicker/inc/bitmaps.hlst
index 4951ead796f0..b7841db8813e 100644
--- a/fpicker/inc/bitmaps.hlst
+++ b/fpicker/inc/bitmaps.hlst
@@ -7,14 +7,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_FPICKER_INC_BITMAPS_HRC
-#define INCLUDED_FPICKER_INC_BITMAPS_HRC
+#pragma once
#define RID_BMP_FOLDER_OPEN "res/folderop.png"
#define BMP_FILEDLG_PLACE_LOCAL "fpicker/res/fp015.png"
#define BMP_FILEDLG_PLACE_REMOTE "fpicker/res/fp016.png"
#define RID_BMP_FOLDER "svtools/res/folder.png"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/fpicker/inc/fpsofficeResMgr.hxx b/fpicker/inc/fpsofficeResMgr.hxx
index 195af8337c01..13721bb9635a 100644
--- a/fpicker/inc/fpsofficeResMgr.hxx
+++ b/fpicker/inc/fpsofficeResMgr.hxx
@@ -6,13 +6,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_FPSOFFICERESMGR_HXX
-#define INCLUDED_FPICKER_SOURCE_OFFICE_FPSOFFICERESMGR_HXX
+#pragma once
#include <unotools/resmgr.hxx>
inline OUString FpsResId(const char* pId) { return Translate::get(pId, Translate::Create("fps")); };
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/fpicker/inc/strings.hrc b/fpicker/inc/strings.hrc
index b175069c05da..6037da706828 100644
--- a/fpicker/inc/strings.hrc
+++ b/fpicker/inc/strings.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_STRINGS_HRC
-#define INCLUDED_VCL_INC_STRINGS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -34,6 +33,4 @@
#define STR_SVT_NEW_FOLDER NC_("STR_SVT_NEW_FOLDER", "Folder")
#define STR_SVT_NOREMOVABLEDEVICE NC_("STR_SVT_NOREMOVABLEDEVICE", "No removable storage device detected.\nMake sure it is plugged in properly and try again.")
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */