• Mike Kaganski's avatar
    tdf#95755: Don't discard table properties in endOfRowAction() · 769dc61f
    Mike Kaganski yazdı
    In the beginning of endOfRowAction(), the current value of
    m_aTmpTableProperties.back( ) is stored in a temporary variable.
    Then, the width of table may be put into m_aTmpTableProperties.back( ).
    In the end, this temp variable is assigned to TableManager::mState.mTableProps
    and the m_aTmpTableProperties.back( ) is reset.
    
    In the middle, the m_aTmpTableProperties.back( ) may be replaced in
    endLevel()/startLevel() sequence (if new table is started). In that case,
    the width calculations go to a different object than stored in temp var.
    Consequently, that value will be discarded and replaced with initial
    stored in temp var. Fixed that by directly operating with temp var
    instead of m_aTmpTableProperties.back( ).
    
    Also, the value of m_nCell was not kept over endLevel()/startLevel() sequence
    and that prevented from calculating width. Fixed that.
    
    Also, removed leftovers from commit cbd0fbc2.
    
    Change-Id: If85dbb715e7c60f60043f9d60d6a3c3d02277add
    Reviewed-on: https://gerrit.libreoffice.org/20052Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    769dc61f
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...