From 42d2bdcf051abc348529ba1de1c93b824d950db2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Feb 2017 11:14:56 +0100 Subject: [PATCH] And more blind fix for apparently buggy GCC 4.8 Change-Id: I0aad8ccf24eca383c763010cfdefba19465c487d --- l10ntools/source/localize.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index f091d5b838cb..e7df5bbcf231 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -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) &&