• Justin Luth's avatar
    related tdf#106174 writerfilter: replace broken FindParentStyleSheet · bc67bda7
    Justin Luth yazdı
    FindParentStyleSheet didn't do anything right. An empty stylename
    was supposed to check currentEntry, but instead it just returned
    null. The passed stylename was completely ignored if there was
    a currentEntry. And on top of that, the stylename itself was
    returned, not its parent. Even worse, the currentEntry properties
    were ignored because in that case it DID return the parent.
    Even the comments were totally bogus. Amazing...
    
    GetPropertyFromStyleSheet() has the potential for LOTS of use
    in writerfilter. I'm surprised it has hardly been used. Perhaps
    the completely wrong results led people to ignore it rather than
    investigate why it didn't give the expected results.
    
    Change-Id: I89a6b02877ab7990aa4eb58e5e0b6a572f3d10e3
    Reviewed-on: https://gerrit.libreoffice.org/57195
    Tested-by: Jenkins
    Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
    Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    bc67bda7
Adı
Son kayıt (commit)
Son güncelleme
..
documentation Loading commit data...
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_writerfilter_misc.mk Loading commit data...
CppunitTest_writerfilter_rtftok.mk Loading commit data...
CustomTarget_source.mk Loading commit data...
IwyuFilter_writerfilter.yaml Loading commit data...
Library_writerfilter.mk Loading commit data...
Makefile Loading commit data...
Module_writerfilter.mk Loading commit data...
README Loading commit data...