summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objstor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r--sfx2/source/doc/objstor.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 8828551136ae..48bfcc9bf6eb 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1037,7 +1037,7 @@ bool SfxObjectShell::DoSave()
}
else
bOk = true;
-#ifndef DISABLE_SCRIPTING
+#if HAVE_FEATURE_SCRIPTING
if ( HasBasic() )
{
try
@@ -3095,7 +3095,7 @@ bool SfxObjectShell::SaveAsOwnFormat( SfxMedium& rMedium )
bChart = true;
SetupStorage( xStorage, nVersion, bTemplate, bChart );
-#ifndef DISABLE_SCRIPTING
+#if HAVE_FEATURE_SCRIPTING
if ( HasBasic() )
{
// Initialize Basic
@@ -3624,7 +3624,7 @@ void SfxObjectShell::SetConfigOptionsChecked( bool bChecked )
bool SfxObjectShell::QuerySaveSizeExceededModules_Impl( const uno::Reference< task::XInteractionHandler >& xHandler )
{
-#ifdef DISABLE_SCRIPTING
+#if !HAVE_FEATURE_SCRIPTING
(void) xHandler;
#else
if ( !HasBasic() )