summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-12-17 11:58:59 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-12-26 07:52:16 +0100
commita1bc9e9d6663b4d0828dd0057968738268bd4181 (patch)
tree9645fdbd4817b2273defa9d2e2f5b6e4891b452f /tools
parent5364b7b663b2be30d802474618dea3db14a2182a (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 'tools')
0 files changed, 0 insertions, 0 deletions