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;
};
static Command const commands[] = {
{ ".src", "transex3", false },
{ ".hrc", "transex3", true },
{ ".ulf", "ulfex", false },
{ ".xcu", "cfgex", false },
{ ".xrm", "xrmex", false },
{ "description.xml", "xrmex", true },
{ ".xhp", "helpex", false },
{ ".properties", "propex", false },
{ ".ui", "uiex", false },
{ ".tree", "treex", false } };
{ OUStringLiteral(".src"), "transex3", false },
{ OUStringLiteral(".hrc"), "transex3", true },
{ OUStringLiteral(".ulf"), "ulfex", false },
{ OUStringLiteral(".xcu"), "cfgex", false },
{ OUStringLiteral(".xrm"), "xrmex", false },
{ OUStringLiteral("description.xml"), "xrmex", true },
{ OUStringLiteral(".xhp"), "helpex", false },
{ OUStringLiteral(".properties"), "propex", false },
{ OUStringLiteral(".ui"), "uiex", false },
{ OUStringLiteral(".tree"), "treex", false } };
for (size_t i = 0; i != SAL_N_ELEMENTS(commands); ++i)
{
if (rUrl.endsWith(commands[i].extension) &&