• Michael Stahl's avatar
    tdf#108349: fix LanguageType conversions from UNO "short" · 93a41b20
    Michael Stahl yazdı
    The bugdoc uses LANGUAGE_USER_LATIN_VATICAN LanguageType(0x8076).
    
    The UNO API uses signed "short" for these in various interfaces,
    and so the LanguageType constructor complains about
    out-of-(short)-range values.
    
    Avoid this by deleting the problematic constructor, so that the places
    that currently call it with API parameters can be changed to first
    cast the parameter to unsigned.
    
    (Yes, we need to write "template<>" twice in a row. Don't ask me why, i
     just work here. sberg says we also need to omit the explict <short>.)
    
    Change-Id: I2443a89bc8d579504fc707ded3d145f9a625597a
    Reviewed-on: https://gerrit.libreoffice.org/38473Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
    93a41b20
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
workben Loading commit data...
JunitTest_linguistic_complex.mk Loading commit data...
JunitTest_linguistic_unoapi.mk Loading commit data...
Library_lng.mk Loading commit data...
Makefile Loading commit data...
Module_linguistic.mk Loading commit data...
README Loading commit data...