summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-13 23:43:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-14 09:51:35 +0000
commit2848277180b9cb6dde639001a0f9612af5bd5992 (patch)
tree70e560abf0f1d03b278e05fe334ae034470045f3 /xmlsecurity/inc/xmlsecurity
parent431f0b0d21cae98f0578f18144c9b08142544329 (diff)
move macro security dialog to xmlsecurity
split out security page and adapt code Change-Id: I51dbd48b2ff4f65f6806fac70bda27ee15d4e176
Diffstat (limited to 'xmlsecurity/inc/xmlsecurity')
-rw-r--r--xmlsecurity/inc/xmlsecurity/macrosecurity.hxx30
1 files changed, 14 insertions, 16 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx
index 9450ffa425a2..4611f05e50e3 100644
--- a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx
+++ b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx
@@ -89,29 +89,27 @@ class MacroSecurityTP : public TabPage
protected:
MacroSecurity* mpDlg;
public:
- MacroSecurityTP( Window* _pParent, const ResId& _rResId, MacroSecurity* _pDlg );
- inline void SetTabDlg( MacroSecurity* pTabDlg );
+ MacroSecurityTP(Window* _pParent, const OString& rID,
+ const OUString& rUIXMLDescription, MacroSecurity* _pDlg);
+ MacroSecurityTP(Window* _pParent, const ResId& _rResId, MacroSecurity* _pDlg);
+
+ void SetTabDlg(MacroSecurity* pTabDlg)
+ {
+ mpDlg = pTabDlg;
+ }
virtual void ClosePage( void ) = 0;
};
-inline void MacroSecurityTP::SetTabDlg( MacroSecurity* _pTabDlg )
-{
- mpDlg = _pTabDlg;
-}
-
-
class MacroSecurityLevelTP : public MacroSecurityTP
{
private:
- FixedLine maSecLevelFL;
- ReadOnlyImage maSecReadonlyFI;
- RadioButton maVeryHighRB;
- RadioButton maHighRB;
- RadioButton maMediumRB;
- RadioButton maLowRB;
-
- sal_uInt16 mnCurLevel;
+ RadioButton* m_pVeryHighRB;
+ RadioButton* m_pHighRB;
+ RadioButton* m_pMediumRB;
+ RadioButton* m_pLowRB;
+
+ sal_uInt16 mnCurLevel;
protected:
DECL_LINK(RadioButtonHdl, void *);