summaryrefslogtreecommitdiff
path: root/uui/source/secmacrowarnings.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/secmacrowarnings.cxx')
-rw-r--r--uui/source/secmacrowarnings.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 935ecf66ecf4..bde5dc287e4c 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -89,6 +89,21 @@ MacroWarning::MacroWarning( vcl::Window* _pParent, bool _bWithSignatures, ResMgr
MacroWarning::~MacroWarning()
{
+ dispose();
+}
+
+void MacroWarning::dispose()
+{
+ mpSymbolImg.clear();
+ mpDocNameFI.clear();
+ mpDescr1FI.clear();
+ mpSignsFI.clear();
+ mpViewSignsBtn.clear();
+ mpDescr2FI.clear();
+ mpAlwaysTrustCB.clear();
+ mpEnableBtn.clear();
+ mpDisableBtn.clear();
+ ModalDialog::dispose();
}
void MacroWarning::SetDocumentURL( const OUString& rDocURL )