Kaydet (Commit) edc68244 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Michael Meeks

Fix warning in !HAVE_FEATURE_SCRIPTING case

Change-Id: Ibc2a9d4426e9ef09eb874e7a9fef0ea31cad56d5
(cherry picked from commit 57ba4567)
Signed-off-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst 453395ee
...@@ -616,6 +616,7 @@ struct VbaFormatInfo ...@@ -616,6 +616,7 @@ struct VbaFormatInfo
const char* mpOOoFormat; // if meType = VbaFormatType::UserDefined const char* mpOOoFormat; // if meType = VbaFormatType::UserDefined
}; };
#if HAVE_FEATURE_SCRIPTING
const VbaFormatInfo pFormatInfoTable[] = const VbaFormatInfo pFormatInfoTable[] =
{ {
{ VbaFormatType::Offset, OUStringLiteral("Long Date"), NF_DATE_SYSTEM_LONG, nullptr }, { VbaFormatType::Offset, OUStringLiteral("Long Date"), NF_DATE_SYSTEM_LONG, nullptr },
...@@ -631,7 +632,6 @@ const VbaFormatInfo pFormatInfoTable[] = ...@@ -631,7 +632,6 @@ const VbaFormatInfo pFormatInfoTable[] =
{ VbaFormatType::Null, OUStringLiteral(""), NF_INDEX_TABLE_ENTRIES, nullptr } { VbaFormatType::Null, OUStringLiteral(""), NF_INDEX_TABLE_ENTRIES, nullptr }
}; };
#if HAVE_FEATURE_SCRIPTING
const VbaFormatInfo* getFormatInfo( const OUString& rFmt ) const VbaFormatInfo* getFormatInfo( const OUString& rFmt )
{ {
const VbaFormatInfo* pInfo = pFormatInfoTable; 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