https://issues.apache.org/ooo/show_bug.cgi?id=120105

--- Comment #3 from Armin Le Grand <[email protected]> ---
Created attachment 78504
  --> https://issues.apache.org/ooo/attachment.cgi?id=78504&action=edit
Extended patch

ALG: Good catch! No need to create pNewRanges when not in undo, possible to use
pOldRanges as flag if used or not and cleanup on central place. Added patch to
show this.
It would be even better to use boost::shared_ptr for ScPrintRangeSaver and to
derive it from boost::noncopyable (it contains a pointer, when implicitely
copied nothing good will happen). Old code, *sigh*.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to