[Libreoffice-commits] core.git: fpicker/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 28 10:11:14 UTC 2021


 fpicker/source/win32/VistaFilePickerImpl.hxx |   40 +++++++++++++--------------
 1 file changed, 20 insertions(+), 20 deletions(-)

New commits:
commit dbc28bc2960f882753a11bb4d8cfbaae5edd7c0d
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Sun Feb 28 07:00:42 2021 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Sun Feb 28 11:10:35 2021 +0100

    Convert some const OUString to OUStringLiteral
    
    Change-Id: I7cb56da6b58325781446d6c001c49638d1ec1769
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111698
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/fpicker/source/win32/VistaFilePickerImpl.hxx b/fpicker/source/win32/VistaFilePickerImpl.hxx
index 6e6e04ad56fc..c191330f4f16 100644
--- a/fpicker/source/win32/VistaFilePickerImpl.hxx
+++ b/fpicker/source/win32/VistaFilePickerImpl.hxx
@@ -60,26 +60,26 @@ const ::sal_Int32 FEATURE_VERSION        = 1024;
 const ::sal_Int32 FEATURE_GPGPASSWORD    = 2048;
 const ::sal_Int32 FEATURE_IMAGEANCHOR    = 4096;
 
-const OUString PROP_PICKER_LISTENER("picker_listener"   ); // [XFilePickerListenert]
-const OUString PROP_DIALOG_SHOW_RESULT("dialog_show_result" ); // [sal_Bool] true=OK, false=CANCEL
-const OUString PROP_SELECTED_FILES("selected_files"     ); // [seq< OUString >] contains all user selected files (can be empty!)
-const OUString PROP_MULTISELECTION_MODE("multiselection_mode"); // [sal_Bool] true=ON, false=OFF
-const OUString PROP_TITLE("title"              ); // [OUString]
-const OUString PROP_FILENAME("filename"          ); // [OUString]
-const OUString PROP_DIRECTORY("directory"          ); // [OUString]
-const OUString PROP_FEATURES("features"           ); // [sal_Int32]
-const OUString PROP_TEMPLATE_DESCR("templatedescription"); // [sal_Int32]
-const OUString PROP_FILTER_TITLE("filter_title"       ); // [OUString]
-const OUString PROP_FILTER_VALUE("filter_value"       ); // [OUString]
-const OUString PROP_FILTER_GROUP("filter-group"       ); // [seq< css:beans::StringPair >] contains a group of filters
-
-const OUString PROP_CONTROL_ID("control_id"         ); // [sal_Int16]
-const OUString PROP_CONTROL_ACTION("control_action"     ); // [sal_Int16]
-const OUString PROP_CONTROL_VALUE("control_value"      ); // [Any]
-const OUString PROP_CONTROL_LABEL("control_label"      ); // [OUString]
-const OUString PROP_CONTROL_ENABLE("control_enable"     ); // [sal_Bool] true=ON, false=OFF
-const OUString PROP_PARENT_WINDOW("ParentWindow"); //[css::awt::XWindow] preferred parent window
-const OUString STRING_SEPARATOR("------------------------------------------" );
+constexpr OUStringLiteral PROP_PICKER_LISTENER(u"picker_listener"   ); // [XFilePickerListenert]
+constexpr OUStringLiteral PROP_DIALOG_SHOW_RESULT(u"dialog_show_result" ); // [sal_Bool] true=OK, false=CANCEL
+constexpr OUStringLiteral PROP_SELECTED_FILES(u"selected_files"     ); // [seq< OUString >] contains all user selected files (can be empty!)
+constexpr OUStringLiteral PROP_MULTISELECTION_MODE(u"multiselection_mode"); // [sal_Bool] true=ON, false=OFF
+constexpr OUStringLiteral PROP_TITLE(u"title"              ); // [OUString]
+constexpr OUStringLiteral PROP_FILENAME(u"filename"          ); // [OUString]
+constexpr OUStringLiteral PROP_DIRECTORY(u"directory"          ); // [OUString]
+constexpr OUStringLiteral PROP_FEATURES(u"features"           ); // [sal_Int32]
+constexpr OUStringLiteral PROP_TEMPLATE_DESCR(u"templatedescription"); // [sal_Int32]
+constexpr OUStringLiteral PROP_FILTER_TITLE(u"filter_title"       ); // [OUString]
+constexpr OUStringLiteral PROP_FILTER_VALUE(u"filter_value"       ); // [OUString]
+constexpr OUStringLiteral PROP_FILTER_GROUP(u"filter-group"       ); // [seq< css:beans::StringPair >] contains a group of filters
+
+constexpr OUStringLiteral PROP_CONTROL_ID(u"control_id"         ); // [sal_Int16]
+constexpr OUStringLiteral PROP_CONTROL_ACTION(u"control_action"     ); // [sal_Int16]
+constexpr OUStringLiteral PROP_CONTROL_VALUE(u"control_value"      ); // [Any]
+constexpr OUStringLiteral PROP_CONTROL_LABEL(u"control_label"      ); // [OUString]
+constexpr OUStringLiteral PROP_CONTROL_ENABLE(u"control_enable"     ); // [sal_Bool] true=ON, false=OFF
+constexpr OUStringLiteral PROP_PARENT_WINDOW(u"ParentWindow"); //[css::awt::XWindow] preferred parent window
+constexpr OUStringLiteral STRING_SEPARATOR(u"------------------------------------------" );
 
 class TDialogImplBase;
 


More information about the Libreoffice-commits mailing list