office-gobmx/shell
Michael Weghorn eff8497fa2 kf5be: Make fromQStringToOUString work for Qt 6
Sync `fromQStringToOUString` with the `toOUString`
implementation in `vcl/inc/qt5/QtTools.hxx`, which
makes it work with Qt 6 as well.

Without this, building this with a planned upcoming
change that introduces a KF 6 desktop backend would fail
like this:

    In file included from /home/user/development/git/libreoffice/shell/source/backends/kf6be/kfaccess.cxx:10:
    /home/user/development/git/libreoffice/shell/source/backends/kf6be/../kf5be/kfaccess.cxx:53:60: error: non-constant-expression cannot be narrowed from type 'qsizetype' (aka 'long long') to 'sal_Int32' (aka 'int') in initializer list [-Wc++11-narrowing]
       53 |     return { reinterpret_cast<char16_t const*>(s.utf16()), s.size() };
          |                                                            ^~~~~~~~
    /home/user/development/git/libreoffice/shell/source/backends/kf6be/../kf5be/kfaccess.cxx:53:60: note: insert an explicit cast to silence this issue
       53 |     return { reinterpret_cast<char16_t const*>(s.utf16()), s.size() };
          |                                                            ^~~~~~~~
          |                                                            static_cast<sal_Int32>( )

Change-Id: Ic2b1ddcaa290379187db69b33e4a700c148650e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168275
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-31 14:29:01 +02:00
..
inc Drop C/C++ DEBUG macro 2024-03-21 16:30:59 +01:00
qa/zip
source kf5be: Make fromQStringToOUString work for Qt 6 2024-05-31 14:29:01 +02:00
AllLangMoTarget_shell.mk
CppunitTest_shell_zip.mk
CustomTarget_shlxthdl_res.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
CustomTarget_spsupp_idl.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
CustomTarget_x64.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
Executable_lngconvex.mk
Executable_regsvrex.mk
Executable_senddoc.mk
Executable_spsupp_helper.mk
Executable_uri_encode.mk
IwyuFilter_shell.yaml kf: Drop "5" from KF 5 desktop backend file names 2024-05-31 14:28:52 +02:00
Library_cmdmail.mk
Library_desktopbe.mk
Library_jumplist.mk
Library_kf5be.mk kf: Drop "5" from KF 5 desktop backend file names 2024-05-31 14:28:52 +02:00
Library_localebe.mk
Library_losessioninstall.mk
Library_macbe.mk
Library_ooofilt.mk
Library_ooofilt_x64.mk
Library_propertyhdl.mk
Library_propertyhdl_x64.mk
Library_shlxthdl.mk
Library_shlxthdl_x64.mk
Library_smplmail.mk
Library_spsupp_x64.mk
Library_spsupp_x86.mk
Library_syssh.mk
Library_wininetbe.mk
Makefile
Module_shell.mk
Package_senddoc.mk
README.md
StaticLibrary_shlxthandler_common.mk
StaticLibrary_shlxthandler_common_x64.mk
StaticLibrary_xmlparser.mk
StaticLibrary_xmlparser_x64.mk
WinResTarget_shlxthdl.mk
WinResTarget_spsupp.mk makefile simplification: replace $(call gb_CustomTarget_get_workdir,foo) 2024-05-03 16:06:14 +02:00
WinResTarget_spsupp_dlg.mk

System Helpers

Launching URI, system integration, external mailer support etc.