View | Details | Raw Unified | Return to issue 120105
Collapse All | Expand All

(-)sc/source/ui/unoobj/cellsuno.cxx (+5 lines)
Lines 7378-7383 Link Here
7378
		{
7378
		{
7379
			pDocSh->GetUndoManager()->AddUndoAction(
7379
			pDocSh->GetUndoManager()->AddUndoAction(
7380
						new ScUndoPrintRange( pDocSh, nTab, pOldRanges, pNewRanges ) );
7380
						new ScUndoPrintRange( pDocSh, nTab, pOldRanges, pNewRanges ) );
7381
		} else
7382
		{
7383
			// memory leak #i120105#
7384
			delete pOldRanges;
7385
			delete pNewRanges;
7381
		}
7386
		}
7382
7387
7383
		ScPrintFunc( pDocSh, pDocSh->GetPrinter(), nTab ).UpdatePages();
7388
		ScPrintFunc( pDocSh, pDocSh->GetPrinter(), nTab ).UpdatePages();

Return to issue 120105