summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-08 11:14:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-08 11:14:56 +0100
commit42d2bdcf051abc348529ba1de1c93b824d950db2 (patch)
tree16c9c02ee7ed401deb8efd6c2a85a18a7b54fb5e /l10ntools
parent3b53a4cdb57667b0c7495ad6aef19312edba2d5d (diff)
And more blind fix for apparently buggy GCC 4.8
Change-Id: I0aad8ccf24eca383c763010cfdefba19465c487d
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/localize.cxx20
1 files 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) &&