• Miklos Vajna's avatar
    tdf#100507 RTF import: don't set default para style to the 0th char style · 2de168e9
    Miklos Vajna yazdı
    Regression from commit 1be0a3fa
    (n#825305: writerfilter RTF import: override style properties like Word,
    2014-06-17), the problem was that the RTF_PARD handler wanted to set a
    default paragraph style, but it didn't check if the 0th style is
    actually a paragraph one. This resulted in using a character style name
    as a paragraph one, throwing in SwUnoCursorHelper::SetTextFormatColl()
    -> all paragraph properties were lost, including the left indent.
    
    Fix this by tracking the style type, and filtering out character styles
    when looking up a default paragraph style.
    
    Change-Id: I41faab0e72667b89ec9a507014b395a675847abf
    2de168e9
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...
Library_writerfilter.mk Loading commit data...
Makefile Loading commit data...
Module_writerfilter.mk Loading commit data...
README Loading commit data...