Aron Budea <> changed:

           What    |Removed                     |Added
           Priority|medium                      |high
             Blocks|                            |83946
           Severity|minor                       |normal

--- Comment #13 from Aron Budea <> ---
The problem is with the following piece of change:

The pointer in pDelPam actually needs to be preserved here:
pDelPam.reset(new SwPaM( *pCpyStt, pDelPam.get() ));

The following change fixes the behavior by releasing the smart pointer:
pDelPam.reset(new SwPaM( *pCpyStt, pDelPam.release() ));

Is the code otherwise correct? I'm surprised working with an invalid pointer
didn't cause a serious issue.

Referenced Bugs:
[Bug 83946] [META] Tracking changes issues
You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to