And more blind fix for apparently buggy GCC 4.8

Change-Id: I0aad8ccf24eca383c763010cfdefba19465c487d
This commit is contained in:
Stephan Bergmann 2017-02-08 11:14:56 +01:00
parent 3b53a4cdb5
commit 42d2bdcf05

View File

@ -153,16 +153,16 @@ bool handleFile(
bool positive; bool positive;
}; };
static Command const commands[] = { static Command const commands[] = {
{ ".src", "transex3", false }, { OUStringLiteral(".src"), "transex3", false },
{ ".hrc", "transex3", true }, { OUStringLiteral(".hrc"), "transex3", true },
{ ".ulf", "ulfex", false }, { OUStringLiteral(".ulf"), "ulfex", false },
{ ".xcu", "cfgex", false }, { OUStringLiteral(".xcu"), "cfgex", false },
{ ".xrm", "xrmex", false }, { OUStringLiteral(".xrm"), "xrmex", false },
{ "description.xml", "xrmex", true }, { OUStringLiteral("description.xml"), "xrmex", true },
{ ".xhp", "helpex", false }, { OUStringLiteral(".xhp"), "helpex", false },
{ ".properties", "propex", false }, { OUStringLiteral(".properties"), "propex", false },
{ ".ui", "uiex", false }, { OUStringLiteral(".ui"), "uiex", false },
{ ".tree", "treex", false } }; { OUStringLiteral(".tree"), "treex", false } };
for (size_t i = 0; i != SAL_N_ELEMENTS(commands); ++i) for (size_t i = 0; i != SAL_N_ELEMENTS(commands); ++i)
{ {
if (rUrl.endsWith(commands[i].extension) && if (rUrl.endsWith(commands[i].extension) &&