Kaydet (Commit) 96004917 authored tarafından Armin Le Grand's avatar Armin Le Grand Kaydeden (comit) Caolán McNamara

Related: #i120515# fixed memory leak

(cherry picked from commit b24737fc)

Change-Id: Ib59957fb2c9e198012898293aaa2e5afbe561ef4
üst 843e5560
...@@ -225,7 +225,10 @@ void DialogWindow::Command( const CommandEvent& rCEvt ) ...@@ -225,7 +225,10 @@ void DialogWindow::Command( const CommandEvent& rCEvt )
IMPL_LINK( DialogWindow, NotifyUndoActionHdl, SfxUndoAction *, pUndoAction ) IMPL_LINK( DialogWindow, NotifyUndoActionHdl, SfxUndoAction *, pUndoAction )
{ {
(void)pUndoAction; // #i120515# pUndoAction needs to be deleted, this hand over is an ownership
// change. As long as it does not get added to the undo manager, it needs at
// least to be deleted.
delete pUndoAction;
return 0; return 0;
} }
......
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