[Libreoffice-commits] core.git: l10ntools/source
Stephan Bergmann
sbergman at redhat.com
Wed Feb 8 10:15:30 UTC 2017
l10ntools/source/localize.cxx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
New commits:
commit 42d2bdcf051abc348529ba1de1c93b824d950db2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 8 11:14:56 2017 +0100
And more blind fix for apparently buggy GCC 4.8
Change-Id: I0aad8ccf24eca383c763010cfdefba19465c487d
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index f091d5b..e7df5bb 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) &&
More information about the Libreoffice-commits
mailing list