summaryrefslogtreecommitdiff
path: root/l10ntools/source/merge.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/merge.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/merge.cxx')
-rw-r--r--l10ntools/source/merge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index a86ddf96124e..b80eaf91b232 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -199,7 +199,7 @@ MergeDataFile::MergeDataFile(
const OString sFileName( lcl_NormalizeFilename(rFile) );
const bool bReadAll = sFileName.isEmpty();
// coverity[tainted_data] - this is a build time tool
- const OString sPoFileName(sPoFile.data(), (sal_Int32)sPoFile.length());
+ const OString sPoFileName(sPoFile.data(), static_cast<sal_Int32>(sPoFile.length()));
PoIfstream aPoInput;
aPoInput.open( sPoFileName );
if ( !aPoInput.isOpen() )