summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-30 15:40:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-03-30 21:23:28 +0200
commita69ad67504b32dd644902d8acf4c2a0fef86d3c7 (patch)
tree3527e421703b790bfa025b1bed433329a949ad81 /basic
parentshort circuit image creation if dest size is zero (diff)
downloadcore-a69ad67504b32dd644902d8acf4c2a0fef86d3c7.tar.gz
core-a69ad67504b32dd644902d8acf4c2a0fef86d3c7.zip
fix some --disable-scripting warnings
Change-Id: I0fa5ec5e0fc7a08f5558f013ec75fd7d4fe5c1a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113379 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxscan.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index de3d50dbed38..0a7be60432a7 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -606,6 +606,8 @@ enum class VbaFormatType
Null
};
+#if HAVE_FEATURE_SCRIPTING
+
struct VbaFormatInfo
{
VbaFormatType meType;
@@ -614,7 +616,6 @@ struct VbaFormatInfo
const char* mpOOoFormat; // if meType = VbaFormatType::UserDefined
};
-#if HAVE_FEATURE_SCRIPTING
const VbaFormatInfo pFormatInfoTable[] =
{
{ VbaFormatType::Offset, std::u16string_view(u"Long Date"), NF_DATE_SYSTEM_LONG, nullptr },