diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-30 15:40:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-30 21:23:28 +0200 |
commit | a69ad67504b32dd644902d8acf4c2a0fef86d3c7 (patch) | |
tree | 3527e421703b790bfa025b1bed433329a949ad81 /basic/source | |
parent | 344fe3bc48bd84799791e4e321fa37b2150e6b6b (diff) |
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/source')
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 3 |
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 }, |