summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-01 20:55:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-01 20:56:20 +0100
commitc6b5535f1c957f134d67952145b539e262f4ca0d (patch)
tree68ac9b2aafb72d591f3092e60ad4f9c81205f8f3 /uui
parenta1280bd47fddd668f1ff224f18639c8d595ec6f7 (diff)
VclPtr: error dialogs never deleted
Change-Id: I43ef768c4c0a29599fd95f5653769bf1583a3d97
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-errorhandler.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 3b12c7ba011c..31dfe1e40370 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -101,6 +101,9 @@ executeErrorDialog(
}
sal_uInt16 aResult = xBox->Execute();
+
+ xBox.disposeAndClear();
+
switch( aResult )
{
case RET_OK: