diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-05 12:20:37 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 12:57:08 +0200 |
commit | 695f0be4d184f4845cb2fedb1d64bb0597f52be4 (patch) | |
tree | a73b5ea4d871a119ebf1043c1361e39e5ccb379f /sfx2/source/appl | |
parent | cecbf715396b5297a99d72e36526de5c24b927b4 (diff) |
WaE: unused parameters in the DISABLE_SCRIPTING case
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/appbaslib.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx index a8fb71ed2e6e..fcb372819bfc 100644 --- a/sfx2/source/appl/appbaslib.cxx +++ b/sfx2/source/appl/appbaslib.cxx @@ -55,7 +55,9 @@ void SfxBasicManagerHolder::reset( BasicManager* _pBasicManager ) { impl_releaseContainers(); -#ifndef DISABLE_SCRIPTING +#ifdef DISABLE_SCRIPTING + (void) _pBasicManager; +#else // Note: we do not delete the old BasicManager. BasicManager instances are // nowadays obtained from the BasicManagerRepository, and the ownership is with // the repository. diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index d46a016cb2c0..5f2420ae59cb 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -350,7 +350,9 @@ long SfxObjectShell::DdeExecute */ { -#ifndef DISABLE_SCRIPTING +#ifdef DISABLE_SCRIPTING + (void) rCmd; +#else StarBASIC* pBasic = GetBasic(); DBG_ASSERT( pBasic, "Where is the Basic???" ) ; SbxVariable* pRet = pBasic->Execute( rCmd ); |