summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-03-05 20:14:25 +0000
committernpower Developer <npower@openoffice.org>2010-03-05 20:14:25 +0000
commitce38eff222baa68d1eb31c4e72da381453d9fd0f (patch)
treeca52cece971f2fb8d3f5c7e89403a1a0e5c005ed
parent5463a4524594257bbbec5d953d97ab668310493e (diff)
npower13_objectmodule: wae fixes
-rw-r--r--basic/source/classes/sbxmod.cxx7
-rw-r--r--basic/source/uno/namecont.cxx3
2 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index fceda108bbd8..622083bd58cc 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1561,10 +1561,9 @@ class FormObjEventListenerImpl : public EventListener_BASE
public:
FormObjEventListenerImpl( SbUserFormModule* pUserForm, const uno::Reference< lang::XComponent >& xComponent ) : mpUserForm( pUserForm ), mxComponent( xComponent) , mbDisposed( false ), mbOpened( sal_False ), mbActivated( sal_False ), mbShowing( sal_False )
{
- if ( mxComponent.is() );
+ if ( mxComponent.is() )
{
uno::Reference< awt::XTopWindow > xList( mxComponent, uno::UNO_QUERY_THROW );;
- //uno::Reference< awt::XWindow > xList( mxComponent, uno::UNO_QUERY_THROW );;
OSL_TRACE("*********** Registering the listener");
xList->addTopWindowListener( this );
}
@@ -1604,7 +1603,7 @@ public:
}
//liuchen 2009-7-21, support Excel VBA Form_QueryClose event
- virtual void SAL_CALL windowClosing( const lang::EventObject& e ) throw (uno::RuntimeException)
+ virtual void SAL_CALL windowClosing( const lang::EventObject& /*e*/ ) throw (uno::RuntimeException)
{
#if IN_THE_FUTURE
uno::Reference< awt::XDialog > xDialog( e.Source, uno::UNO_QUERY );
@@ -1694,7 +1693,7 @@ void SbUserFormModule::triggerMethod( const String& aMethodToRun )
Sequence< Any > aArguments;
triggerMethod( aMethodToRun, aArguments );
}
-void SbUserFormModule::triggerMethod( const String& aMethodToRun, Sequence< Any >& aArguments)
+void SbUserFormModule::triggerMethod( const String& aMethodToRun, Sequence< Any >& /*aArguments*/)
{
OSL_TRACE("*** trigger %s ***", rtl::OUStringToOString( aMethodToRun, RTL_TEXTENCODING_UTF8 ).getStr() );
// Search method
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 05134620f173..7b1839089bf9 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -326,12 +326,13 @@ DBG_NAME( SfxLibraryContainer )
// Ctor
SfxLibraryContainer::SfxLibraryContainer( void )
: LibraryContainerHelper( maMutex )
+ , mbVBACompat( sal_False )
, maModifiable( *this, maMutex )
, maNameContainer( getCppuType( (Reference< XNameAccess >*) NULL ) )
, mbOldInfoFormat( sal_False )
, mbOasis2OOoFormat( sal_False )
, mpBasMgr( NULL )
- , mbOwnBasMgr( sal_False ), mbVBACompat( sal_False )
+ , mbOwnBasMgr( sal_False )
{
DBG_CTOR( SfxLibraryContainer, NULL );