summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
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: