summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-05 13:17:43 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-05 22:30:09 +0200
commit07eb8bdcdf0f75a36f5e22a825102070e1255240 (patch)
tree4ad7d8a2000fd22ba4048722a04601ae0f7b1aa5 /sfx2
parentf914c5230a5b119a35bb8fa4da9c4aba105fd8d1 (diff)
WaE: unused parameter in the DISABLE_SCRIPTING case
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index dac0751c3c4e..fd47493f00cd 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -3553,7 +3553,9 @@ void SfxObjectShell::SetConfigOptionsChecked( sal_Bool bChecked )
sal_Bool SfxObjectShell::QuerySaveSizeExceededModules_Impl( const uno::Reference< task::XInteractionHandler >& xHandler )
{
-#ifndef DISABLE_SCRIPTING
+#ifdef DISABLE_SCRIPTING
+ (void) xHandler;
+#else
if ( !HasBasic() )
return sal_True;