diff options
author | Armin Le Grand <alg@apache.org> | 2012-08-16 08:59:54 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-08-16 08:59:54 +0000 |
commit | b24737fc55e797d03002d44a1fa325a101617c55 (patch) | |
tree | 35d34c0b3b6081f39937d36663bf159aad006d4d /basctl | |
parent | a835b0af5f400c8b28a7ebb91da77c0246b23d03 (diff) |
#120515# fixed memory leak
Notes
Notes:
merged as: 96004917df7f93203c04ad879702c3fe03161c16
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 9888376b2a1c..3bc026c0ae5c 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -265,7 +265,10 @@ void DialogWindow::Command( const CommandEvent& rCEvt ) IMPL_LINK( DialogWindow, NotifyUndoActionHdl, SfxUndoAction *, pUndoAction ) { - (void)pUndoAction; + // #120515# 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; // not working yet for unocontrols /* |