diff options
author | Tor Lillqvist <tml@iki.fi> | 2018-08-27 15:00:20 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-10-30 17:00:42 +0000 |
commit | edc682446705722f3981086e8ffa8ffc1d53ecab (patch) | |
tree | d7613e324822b190c839e1ce1fbf17f4101f33f8 /basic | |
parent | 453395ee4708afb5b7b41fe876aae1a10fdbb526 (diff) |
Fix warning in !HAVE_FEATURE_SCRIPTING case
Change-Id: Ibc2a9d4426e9ef09eb874e7a9fef0ea31cad56d5
(cherry picked from commit 57ba456786614348e309ad1860219ace2f2a2e0b)
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 845cf395ebb1..106779983d12 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -616,6 +616,7 @@ struct VbaFormatInfo const char* mpOOoFormat; // if meType = VbaFormatType::UserDefined }; +#if HAVE_FEATURE_SCRIPTING const VbaFormatInfo pFormatInfoTable[] = { { VbaFormatType::Offset, OUStringLiteral("Long Date"), NF_DATE_SYSTEM_LONG, nullptr }, @@ -631,7 +632,6 @@ const VbaFormatInfo pFormatInfoTable[] = { VbaFormatType::Null, OUStringLiteral(""), NF_INDEX_TABLE_ENTRIES, nullptr } }; -#if HAVE_FEATURE_SCRIPTING const VbaFormatInfo* getFormatInfo( const OUString& rFmt ) { const VbaFormatInfo* pInfo = pFormatInfoTable; |