diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-12-17 11:58:59 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-12-26 07:52:16 +0100 |
commit | a1bc9e9d6663b4d0828dd0057968738268bd4181 (patch) | |
tree | 9645fdbd4817b2273defa9d2e2f5b6e4891b452f /m4 | |
parent | 5364b7b663b2be30d802474618dea3db14a2182a (diff) |
pdfium: remove duplication of converting a unicode string
This adds a universal getUnicodeString function that takes a
function call as a parameter, which is only a wrapped PDFium
function call that returns a unicode string. The rest of conversion
magic to OUString is then done by the function in one place.
This reduces a lot of duplication as we had to copy the way how
to convert the unicode string to OUString to every method.
Change-Id: Id951e2dd0c8b98837ca096cd5f800b8df0449fa0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178628
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178774
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions