Kaydet (Commit) 695f0be4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unused parameters in the DISABLE_SCRIPTING case

üst cecbf715
...@@ -55,7 +55,9 @@ void SfxBasicManagerHolder::reset( BasicManager* _pBasicManager ) ...@@ -55,7 +55,9 @@ void SfxBasicManagerHolder::reset( BasicManager* _pBasicManager )
{ {
impl_releaseContainers(); impl_releaseContainers();
#ifndef DISABLE_SCRIPTING #ifdef DISABLE_SCRIPTING
(void) _pBasicManager;
#else
// Note: we do not delete the old BasicManager. BasicManager instances are // Note: we do not delete the old BasicManager. BasicManager instances are
// nowadays obtained from the BasicManagerRepository, and the ownership is with // nowadays obtained from the BasicManagerRepository, and the ownership is with
// the repository. // the repository.
......
...@@ -350,7 +350,9 @@ long SfxObjectShell::DdeExecute ...@@ -350,7 +350,9 @@ long SfxObjectShell::DdeExecute
*/ */
{ {
#ifndef DISABLE_SCRIPTING #ifdef DISABLE_SCRIPTING
(void) rCmd;
#else
StarBASIC* pBasic = GetBasic(); StarBASIC* pBasic = GetBasic();
DBG_ASSERT( pBasic, "Where is the Basic???" ) ; DBG_ASSERT( pBasic, "Where is the Basic???" ) ;
SbxVariable* pRet = pBasic->Execute( rCmd ); SbxVariable* pRet = pBasic->Execute( rCmd );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment