Kaydet (Commit) e93417bf authored tarafından Thomas Arnhold's avatar Thomas Arnhold

fix windows build

seems this was caused by 8f7a1111

Change-Id: I4e4b01de4f581134297b1c01220596ebd549b3d1
üst 3e608fbb
...@@ -2798,12 +2798,12 @@ throw (uno::RuntimeException, std::exception) ...@@ -2798,12 +2798,12 @@ throw (uno::RuntimeException, std::exception)
g_ServicesIndexTokenAccess); g_ServicesIndexTokenAccess);
} }
struct TokenType { struct TokenType_ {
const char *pName; const char *pName;
enum FormTokenType eTokenType; enum FormTokenType eTokenType;
}; };
static const struct TokenType g_TokenTypes[] = static const struct TokenType_ g_TokenTypes[] =
{ {
{ "TokenEntryNumber", TOKEN_ENTRY_NO }, { "TokenEntryNumber", TOKEN_ENTRY_NO },
{ "TokenEntryText", TOKEN_ENTRY_TEXT }, { "TokenEntryText", TOKEN_ENTRY_TEXT },
...@@ -2853,7 +2853,7 @@ throw (lang::IllegalArgumentException, lang::IndexOutOfBoundsException, ...@@ -2853,7 +2853,7 @@ throw (lang::IllegalArgumentException, lang::IndexOutOfBoundsException,
{ {
const OUString sTokenType = const OUString sTokenType =
lcl_AnyToString(pProperties[j].Value); lcl_AnyToString(pProperties[j].Value);
for (TokenType const* pTokenType = g_TokenTypes; for (TokenType_ const* pTokenType = g_TokenTypes;
pTokenType->pName; ++pTokenType) pTokenType->pName; ++pTokenType)
{ {
if (sTokenType.equalsAscii(pTokenType->pName)) if (sTokenType.equalsAscii(pTokenType->pName))
......
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