diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-05 18:29:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-09-05 21:19:56 +0200 |
commit | 1bc728580364c626aa04df624e2afac8fa92890e (patch) | |
tree | 2d8e220e7f18ff10f4ddbf80758691b24a3f56e6 /i18npool/source | |
parent | c6104462fbe11ae053155b5f6c2ec52d31f0481c (diff) |
Improve QString to OUString conversion
...assuming the way of constructing an OUString from just a QString::utf16
pointer, ignoring QString::size, was not chosen deliberately to cut of the input
string at a potential embedded NUL.
(This change is a prerequisite for making the OUString ctor taking a raw pointer
explicit.)
Change-Id: I3fb3026065f0247c19f0497d28adf422106bd9c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102083
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool/source')
0 files changed, 0 insertions, 0 deletions