• Noel Grandin's avatar
    tdf#120657 Pie chart saved as DOC doesn't preview in MSO · dbe94dd3
    Noel Grandin yazdı
    regression from
    
        commit 9ec8bf8f
        add SvStream::TellEnd
    
    the problem is that in this stack trace
    
        sot/source/sdstor/stgelem.hxx:130
        sot/source/sdstor/stgdir.cxx:300
        sot/source/sdstor/stg.cxx:245
        sot/source/sdstor/storage.cxx:187
        tools/source/stream/stream.cxx:1908
        sw/source/filter/ww8/ww8scan.cxx:6267
    
    The StgEntry returns a size of 0. If we do something else to the
    SotStorageStream first, then it materialises a temporary stream, and
    that stream returns a valid size.
    
    Also implement suggestions from mike kaganski:
    
    IMO, it would be more robust to implement this new function as virtual
    (instead of the remainingSize()), and reimplement the latter as
    non-virtual one using the new one and doing the necessary correction.
    
    Change-Id: Id1462d918570a684ec67099c30181436a27d3c6a
    Reviewed-on: https://gerrit.libreoffice.org/62984
    Tested-by: Jenkins
    Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
    dbe94dd3
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
util Loading commit data...
CppunitTest_sot_test_sot.mk Loading commit data...
JunitTest_sot_complex.mk Loading commit data...
Library_sot.mk Loading commit data...
Makefile Loading commit data...
Module_sot.mk Loading commit data...
README Loading commit data...