diff options
Diffstat (limited to 'svtools/source/productregistration/registrationdlg.cxx')
-rw-r--r-- | svtools/source/productregistration/registrationdlg.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/svtools/source/productregistration/registrationdlg.cxx b/svtools/source/productregistration/registrationdlg.cxx index 3e3ba5f64d52..f44158279ad0 100644 --- a/svtools/source/productregistration/registrationdlg.cxx +++ b/svtools/source/productregistration/registrationdlg.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -58,16 +58,16 @@ namespace svt //-------------------------------------------------------------------- RegistrationDialog::RegistrationDialog( Window* _pWindow, const ResId& _rResId, bool _bEvalVersion ) :ModalDialog( _pWindow, _rResId ) - ,m_eResponse ( urRegisterLater ) - ,m_aLogo ( this, ResId( FI_LOGO, *_rResId.GetResMgr() ) ) - ,m_aIntro ( this, ResId( FT_INTRO, *_rResId.GetResMgr() ) ) - ,m_aNow ( this, ResId( RB_NOW, *_rResId.GetResMgr() ) ) - ,m_aLater ( this, ResId( RB_LATER, *_rResId.GetResMgr() ) ) - ,m_aNever ( this, ResId( RB_NEVER, *_rResId.GetResMgr() ) ) - ,m_aAlreadyDone ( this, ResId( RB_DONE, *_rResId.GetResMgr() ) ) - ,m_aSeparator ( this, ResId( FL_SEPARATOR, *_rResId.GetResMgr() ) ) - ,m_aOK ( this, ResId( BTN_OK, *_rResId.GetResMgr() ) ) - ,m_aHelp ( this, ResId( BTN_HELP, *_rResId.GetResMgr() ) ) + ,m_eResponse ( urRegisterLater ) + ,m_aLogo ( this, ResId( FI_LOGO, *_rResId.GetResMgr() ) ) + ,m_aIntro ( this, ResId( FT_INTRO, *_rResId.GetResMgr() ) ) + ,m_aNow ( this, ResId( RB_NOW, *_rResId.GetResMgr() ) ) + ,m_aLater ( this, ResId( RB_LATER, *_rResId.GetResMgr() ) ) + ,m_aNever ( this, ResId( RB_NEVER, *_rResId.GetResMgr() ) ) + ,m_aAlreadyDone ( this, ResId( RB_DONE, *_rResId.GetResMgr() ) ) + ,m_aSeparator ( this, ResId( FL_SEPARATOR, *_rResId.GetResMgr() ) ) + ,m_aOK ( this, ResId( BTN_OK, *_rResId.GetResMgr() ) ) + ,m_aHelp ( this, ResId( BTN_HELP, *_rResId.GetResMgr() ) ) { if ( _bEvalVersion ) { // if we're an eval version, we need to hide two of the options @@ -144,7 +144,7 @@ namespace svt { long nHandled; if( rNEvt.GetType() == EVENT_KEYINPUT && - rNEvt.GetKeyEvent()->GetCharCode() && + rNEvt.GetKeyEvent()->GetCharCode() && rNEvt.GetKeyEvent()->GetKeyCode().GetCode() == KEY_ESCAPE) { EndDialog(RET_CANCEL); @@ -153,11 +153,11 @@ namespace svt else nHandled = ModalDialog::PreNotify( rNEvt ); return nHandled; - } + } //........................................................................ -} // namespace svt +} // namespace svt //........................................................................ |