diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 16:39:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-23 11:04:42 +0200 |
commit | bd6fb0cd3eee3c7d414e55a7678c0097aadc7646 (patch) | |
tree | 5f754d7e485ab31dd4e04782b8eccd50d854d91e /fpicker | |
parent | 3501c52176d1122d9de08462435f633cd21de370 (diff) |
Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String
...in include files. This is a mix of automatic rewriting in include files and
manual fixups (mostly addressing loplugin:redundantfcast) in source files that
include those.
Change-Id: I1f3cc1e67b9cabd2e9d61a4d9e9a01e587ea35cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158337
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/inc/bitmaps.hlst | 6 | ||||
-rw-r--r-- | fpicker/source/office/fpdialogbase.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/inc/bitmaps.hlst b/fpicker/inc/bitmaps.hlst index 5771d6134b05..201eb0580063 100644 --- a/fpicker/inc/bitmaps.hlst +++ b/fpicker/inc/bitmaps.hlst @@ -9,8 +9,8 @@ #pragma once -inline constexpr OUStringLiteral BMP_FILEDLG_PLACE_LOCAL = u"fpicker/res/fp015.png"; -inline constexpr OUStringLiteral BMP_FILEDLG_PLACE_REMOTE = u"fpicker/res/fp016.png"; -inline constexpr OUStringLiteral RID_BMP_FOLDER = u"svtools/res/folder.png"; +inline constexpr OUString BMP_FILEDLG_PLACE_LOCAL = u"fpicker/res/fp015.png"_ustr; +inline constexpr OUString BMP_FILEDLG_PLACE_REMOTE = u"fpicker/res/fp016.png"_ustr; +inline constexpr OUString RID_BMP_FOLDER = u"svtools/res/folder.png"_ustr; /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/fpicker/source/office/fpdialogbase.hxx b/fpicker/source/office/fpdialogbase.hxx index f0ab32184a7e..60205695b719 100644 --- a/fpicker/source/office/fpdialogbase.hxx +++ b/fpicker/source/office/fpdialogbase.hxx @@ -52,7 +52,7 @@ namespace o3tl { template<> struct typed_flags<PickerFlags> : is_typed_flags<PickerFlags, 0x00ffff> {}; } -inline constexpr OUStringLiteral FILEDIALOG_FILTER_ALL = u"*.*"; +inline constexpr OUString FILEDIALOG_FILTER_ALL = u"*.*"_ustr; // SvtFileDialog_Base |