diff options
author | Trevor Murphy <trevor.m.murphy@gmail.com> | 2010-10-19 23:45:24 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-19 23:45:24 -0500 |
commit | f0fbd8e821571d548d46d89fe9516b25ee93753f (patch) | |
tree | 4d4529b46a3b26014033fb468078f331798e9dd4 /basic | |
parent | b9dc08c74ddda286234e167b83028c8dcb83943d (diff) |
Minor libs-core comment clean-up
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 813db18bc2..caa41ba043 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2187,7 +2187,7 @@ public: } } - //liuchen 2009-7-21, support Excel VBA Form_QueryClose event + virtual void SAL_CALL windowClosing( const lang::EventObject& e ) throw (uno::RuntimeException) { uno::Reference< awt::XDialog > xDialog( e.Source, uno::UNO_QUERY ); @@ -2218,7 +2218,7 @@ public: mpUserForm->triggerMethod( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Userform_QueryClose") ) ); } - //liuchen 2009-7-21 + virtual void SAL_CALL windowClosed( const lang::EventObject& /*e*/ ) throw (uno::RuntimeException) { @@ -2320,7 +2320,7 @@ void SbUserFormModule::triggerMethod( const String& aMethodToRun, Sequence< Any SbxVariable* pMeth = SbObjModule::Find( aMethodToRun, SbxCLASS_METHOD ); if( pMeth ) { - //liuchen 2009-7-21, support Excel VBA UserForm_QueryClose event with parameters + if ( aArguments.getLength() > 0 ) // Setup parameters { SbxArrayRef xArray = new SbxArray; @@ -2348,7 +2348,7 @@ void SbUserFormModule::triggerMethod( const String& aMethodToRun, Sequence< Any pMeth->SetParameters( NULL ); } else -//liuchen 2009-7-21 + { SbxValues aVals; pMeth->Get( aVals ); @@ -2434,7 +2434,7 @@ void SbUserFormModule::Load() InitObject(); } -//liuchen 2009-7-21 change to accmordate VBA's beheavior + void SbUserFormModule::Unload() { OSL_TRACE("** Unload() "); @@ -2484,7 +2484,7 @@ void SbUserFormModule::Unload() OSL_TRACE("UnloadObject completed ( we hope )"); } } -//liuchen + void SbUserFormModule::InitObject() { |