Kaydet (Commit) 57ba4567 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix warning in !HAVE_FEATURE_SCRIPTING case

Change-Id: Ibc2a9d4426e9ef09eb874e7a9fef0ea31cad56d5
üst 79ba62d4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment