Kaydet (Commit) d3e9bb52 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS draw15 (1.2.90); FILE MERGED

2003/06/02 15:31:34 aw 1.2.90.1: #109992#
Rescue the UNDO text if a 2nd undo is done here and put it into BegUndo() to have a comment in the UNDO field.
üst ff69c908
......@@ -2,9 +2,9 @@
*
* $RCSfile: svddrgmt.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2003-03-27 15:04:28 $
* last change: $Author: vg $ $Date: 2003-06-06 10:43:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -547,13 +547,23 @@ FASTBOOL SdrDragObjOwn::End(FASTBOOL bCopy)
}
}
bRet=pObj->EndDrag(DragStat());
if (bRet) {
if (pUndo!=NULL) {
if (pUndo2!=NULL) {
rView.BegUndo();
if(bRet)
{
if(pUndo)
{
// #109992#
// Rescue the UNDO text if a 2nd undo is done here and put it
// into BegUndo() to have a comment in the UNDO field.
if(pUndo2)
{
rView.BegUndo(pUndo->GetComment());
}
rView.AddUndo(pUndo);
if (pUndo2!=NULL) {
if(pUndo2)
{
rView.AddUndo(pUndo2);
rView.EndUndo();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment