diff options
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 11e0166ef5dd..68c0bcbb5d91 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include "scitems.hxx" #include <sfx2/viewfrm.hxx> #include <sfx2/app.hxx> @@ -667,7 +669,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } rReq.Done(); } -#ifndef DISABLE_SCRIPTING +#if HAVE_FEATURE_SCRIPTING else if (rReq.IsAPI()) SbxBase::SetError(SbxERR_BAD_PARAMETER); #endif |