diff options
author | Tor Lillqvist <tml@iki.fi> | 2018-08-27 15:00:20 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2018-08-27 22:29:49 +0300 |
commit | 57ba456786614348e309ad1860219ace2f2a2e0b (patch) | |
tree | 1fec4f696c00b1a5f6680b4036a9a4d79b3fa0bc /basic | |
parent | 79ba62d461493fb9e513acdebca925fb826c8a06 (diff) |
Fix warning in !HAVE_FEATURE_SCRIPTING case
Change-Id: Ibc2a9d4426e9ef09eb874e7a9fef0ea31cad56d5
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 156a398a7bcf..081d5b4735a5 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -615,6 +615,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 }, @@ -630,7 +631,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; |