summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshe3.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-05 21:41:31 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-05 22:30:12 +0200
commitb344c30ab49b6faf8a24be42bdfcf4e946a861cd (patch)
tree75699c0eb98676e6f9359a44fae78a29594ad751 /sd/source/ui/view/viewshe3.cxx
parentb69285590d704b08852c22dbb5ed073bff9998ce (diff)
Sprinkle more DISABLE_SCRIPTING ifdefs
Diffstat (limited to 'sd/source/ui/view/viewshe3.cxx')
-rw-r--r--sd/source/ui/view/viewshe3.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 674b3443568b..87b88cf73070 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -300,8 +300,9 @@ SdPage* ViewShell::CreateOrDuplicatePage (
if(HasCurrentFunction( SID_BEZIER_EDIT ) )
GetViewFrame()->GetDispatcher()->Execute(SID_OBJECT_SELECT, SFX_CALLMODE_ASYNCHRON);
-
+#ifndef DISABLE_SCRIPTING
StarBASIC::FatalError (SbERR_BAD_PROP_VALUE);
+#endif
rRequest.Ignore ();
return NULL;
}
@@ -312,8 +313,9 @@ SdPage* ViewShell::CreateOrDuplicatePage (
if(HasCurrentFunction(SID_BEZIER_EDIT) )
GetViewFrame()->GetDispatcher()->Execute(SID_OBJECT_SELECT, SFX_CALLMODE_ASYNCHRON);
-
+#ifndef DISABLE_SCRIPTING
StarBASIC::FatalError (SbERR_WRONG_ARGS);
+#endif
rRequest.Ignore ();
return NULL;
}