https://bugs.documentfoundation.org/show_bug.cgi?id=143845
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |--- Status|RESOLVED |NEW --- Comment #10 from Justin L <[email protected]> --- Not a dup. It is triggered from this sequence of calls that comes after sfx2/source/doc/objmisc.cxx's finishedLoading()'s SetModified(false): #0 sw::DocumentStateManager::SetModified() (this=0x5555571d7500) at sw/source/core/doc/DocumentStateManager.cxx:46 #1 0x00007fffb96984fd in SwDoc::MakeFrameFormat(rtl::OUString const&, SwFrameFormat*, bool, bool) (this=0x55555bff7720, rFormatName="Root", pDerivedFrom= 0x55555a75fe20, bBroadcast=false, bAuto=true) at sw/source/core/doc/docfmt.cxx:827 #2 0x00007fffb9c13046 in SwRootFrame::SwRootFrame(SwFrameFormat*, SwViewShell*) (this=0x55555b4e79e0, pFormat=0x55555a75fe20, pSh=0x55555b0a5e10) at sw/source/core/layout/newfrm.cxx:428 #3 0x00007fffba2b37df in SwViewShell::Init(SwViewOption const*) (this=0x55555b0a5e10, pNewOpt=0x7fffffffbca0) at sw/source/core/view/vnew.cxx:126 #4 0x00007fffba2b3dd1 in SwViewShell::SwViewShell(SwDoc&, vcl::Window*, SwViewOption const*, OutputDevice*, long) (this=0x55555b0a5e10, rDocument=..., pWindow= 0x55555b9e6800, pNewOpt=0x7fffffffbca0, pOutput=0x0, nFlags=0) at sw/source/core/view/vnew.cxx:180 #5 0x00007fffb950e139 in SwCursorShell::SwCursorShell(SwDoc&, vcl::Window*, SwViewOption const*) (this=0x55555b0a5e10, rDoc=..., pInitWin=0x55555b9e6800, pInitOpt=0x7fffffffbca0) atsw/source/core/crsr/crsrsh.cxx:2995 #6 0x00007fffb9a7a36b in SwEditShell::SwEditShell(SwDoc&, vcl::Window*, SwViewOption const*) (this=0x55555b0a5e10, rDoc=..., pWindow=0x55555b9e6800, pOptions=0x7fffffffbca0) at sw/source/core/edit/edws.cxx:50 #7 0x00007fffb9b2ef11 in SwFEShell::SwFEShell(SwDoc&, vcl::Window*, SwViewOption const*) (this=0x55555b0a5e10, rDoc=..., pWindow=0x55555b9e6800, pOptions=0x7fffffffbca0) at sw/source/core/frmedt/fews.cxx:667 #8 0x00007fffba9f4035 in SwWrtShell::SwWrtShell(SwDoc&, vcl::Window*, SwView&, SwViewOption const*) (this=0x55555b0a5e10, rDoc=..., _pWin=0x55555b9e6800, rShell=..., pViewOpt=0x7fffffffbca0) at sw/source/uibase/wrtsh/wrtsh1.cxx:1990 #9 0x00007fffc19b1d6e in SwView::SwView(SfxViewFrame*, SfxViewShell*) (this=0x55555b3f8a70, _pFrame=0x55555b7aecd0, pOldSh=0x0) at sw/source/uibase/uiview/view.cxx:888 This view.cxx has a bunch of code related to SetModified, and it clearly wants changes here to be kept. So the problem doesn't seem to be with SetModified itself I don't think. The fix would have to be from finding out why the frame format is changing at this point after loading has finished. -- You are receiving this mail because: You are the assignee for the bug.
