summaryrefslogtreecommitdiff
path: root/l10ntools/source/helper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:20:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:20:59 +0100
commit95adb247b62b8e4368fa473af3f0e01c420d4f6b (patch)
tree11cd81d3a5e00a0745446b1fe85ec7c615c556b6 /l10ntools/source/helper.cxx
parent4fdd5eff7d4e10eb0a709c79b30b7411e4297d42 (diff)
More loplugin:cstylecast: l10ntools
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I062bc41d2feb8b50371da345edac0e65e0d187b2
Diffstat (limited to 'l10ntools/source/helper.cxx')
-rw-r--r--l10ntools/source/helper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/helper.cxx b/l10ntools/source/helper.cxx
index a14c079dd302..c16d104b34e9 100644
--- a/l10ntools/source/helper.cxx
+++ b/l10ntools/source/helper.cxx
@@ -127,7 +127,7 @@ bool isWellFormedXML( OString const & text )
content = "<root>";
content += text;
content += "</root>";
- doc = xmlParseMemory(content.getStr(),(int)content.getLength());
+ doc = xmlParseMemory(content.getStr(),static_cast<int>(content.getLength()));
if (doc == nullptr) {
result = false;
}