summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2004-07-22 06:08:22 +0000
committergt <gt@openoffice.org>2004-07-22 06:08:22 +0000
commita36ecca35f0a838e4f6c5e6993f890ef25b10876 (patch)
tree176b1366176bee2e1a7f5b0516ca161b4af0bac8 /xmlsecurity/source
parent43a9149c4b1cf2113edfb33a17abaf0126a405c7 (diff)
#i20883# config i/o
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/dialogs/macrosecurity.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx
index 98892a54c6a7..40c2b399d3a5 100644
--- a/xmlsecurity/source/dialogs/macrosecurity.cxx
+++ b/xmlsecurity/source/dialogs/macrosecurity.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: macrosecurity.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: gt $ $Date: 2004-07-22 06:28:36 $
+ * last change: $Author: gt $ $Date: 2004-07-22 07:08:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -149,6 +149,8 @@ MacroSecurity::MacroSecurity( Window* _pParent, cssu::Reference< lang::XMultiSer
MacroSecurity::~MacroSecurity()
{
+ delete maTabCtrl.GetTabPage( RID_XMLSECTP_TRUSTSOURCES );
+ delete maTabCtrl.GetTabPage( RID_XMLSECTP_SECLEVEL );
}
@@ -164,10 +166,10 @@ RadioButton* MacroSecurityLevelTP::GetRadioButton( USHORT _nLevel )
RadioButton* pRet;
switch( _nLevel )
{
- case 0: pRet = &maVeryHighRB; break;
- case 1: pRet = &maHighRB; break;
- case 2: pRet = &maMediumRB; break;
- case 3: pRet = &maLowRB; break;
+ case 3: pRet = &maVeryHighRB; break;
+ case 2: pRet = &maHighRB; break;
+ case 1: pRet = &maMediumRB; break;
+ case 0: pRet = &maLowRB; break;
default: pRet = NULL;
}