Hi Lijian,
Andreas (AMA) will be back tomorrow. I think he's the best to answer
your questions.
Regards, Oliver.
lijian wrote:
> Hi Mathias,
>
> I found an undo problem when the header or footer is changed.
> For example:
> First, I do some operations on a document(now there is no header or footer)
> when the UNDO button is lighted;
> Second, I insert the header or footer to the document. Then, the UNDO and
> REDO button is grey and I can't
> undo any of the operations before.
> I think this is unreasonable.
>
> I found the codes in sw/source/core/doc/docdesc.cxx like this:
>
> // #i46909# no undo if header or footer changed
> if( bHeaderFooterChanged )
> {
> ClearRedo();
> DelAllUndoObj();
> }
>
> This is to make undo and redo grey if header or footer is changed.
> The codes above is to solve issue 46909. After tracking on issuezilla, I
> found there are a few crash problems with undo of
> header and footer before, so engineers of the community accepted this
> solution for the moment ?
>
> So, that means we should just remove all the undo operations when header or
> footer is changed ?
> Should it be this ?
>
> I need your help.Thank you!
>
> Best wishes,
>
>
>
> lijian
> 2007-08-20
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]