• Caolán McNamara's avatar
    Resolves: fdo#81487 pasting into outline view crashes impress · a5793f5e
    Caolán McNamara yazdı
    CreateTitleTextObject will call indirectly ImpPageChange which
    triggers tools::EventMultiplexerEvent::EID_PAGE_ORDER and so
    in outlview.cxx without ignore page changes level in action
    the outliner is filled in from the slide contents in
    FillOutliner clearing the outliner contents and filling it
    fresh, but..
    
    a) this hack tower is not prepared for all the outliner
    iterators to become invalid
    b) the contents of this title object is empty, because
    it was just created, and we didn't get a chance to fill
    in its text.
    
    This all works for typing vs pasting because the KeyInput
    uses the OutlineViewPageChangesGuard guard which sets the
    ignore pages changes bit.
    
    So, given that OutlineView::UpdateDocument expects
    the iterators of the outliner to be valid during
    the lifetime of the method lock the full method with
    the OutlineViewPageChangesGuard guard
    
    Change-Id: Iecbf37d54f5f0c5a181be5f27832f769a3d2e389
    a5793f5e
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
res Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig Loading commit data...
util Loading commit data...
workben Loading commit data...
xml Loading commit data...
xsl Loading commit data...
AllLangResTarget_sd.mk Loading commit data...
CppunitTest_sd_export_tests.mk Loading commit data...
CppunitTest_sd_filters_test.mk Loading commit data...
CppunitTest_sd_html_export_tests.mk Loading commit data...
CppunitTest_sd_import_tests.mk Loading commit data...
CppunitTest_sd_uimpress.mk Loading commit data...
JunitTest_sd_unoapi.mk Loading commit data...
Library_sd.mk Loading commit data...
Library_sdd.mk Loading commit data...
Library_sdfilt.mk Loading commit data...
Library_sdui.mk Loading commit data...
Makefile Loading commit data...
Module_sd.mk Loading commit data...
Package_opengl.mk Loading commit data...
Package_web.mk Loading commit data...
Package_xml.mk Loading commit data...
README Loading commit data...
README_REMOTE Loading commit data...
UIConfig_sdraw.mk Loading commit data...
UIConfig_simpress.mk Loading commit data...