diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-17 15:28:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-18 08:04:47 +0200 |
commit | 1aafe4950c04024907076e1420ddfd02181eb278 (patch) | |
tree | 2d014582c2a5ddd5139808f20eb70fa2817f75fe /l10ntools | |
parent | 6626281b4a123cfb5e2c8f449b55f4acd46ee198 (diff) |
loplugin:staticvar in hwpfilter..sal
Change-Id: I8bf3509637cb295847e0dd667c1862269a192bbe
Reviewed-on: https://gerrit.libreoffice.org/61881
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/localize.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 31c6e70f0358..c2bc7c262fcb 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -83,7 +83,7 @@ bool passesPositiveList(const OUString& rUrl) { void handleCommand( const OString& rInPath, const OString& rOutPath, - const OString& rExecutable) + const std::string& rExecutable) { OStringBuffer buf; if (rExecutable == "uiex" || rExecutable == "hrcex") @@ -96,7 +96,7 @@ void handleCommand( buf.append(OString(getenv("WORKDIR_FOR_BUILD"))); buf.append("/LinkTarget/Executable/"); } - buf.append(rExecutable); + buf.append(rExecutable.data()); buf.append(" -i "); buf.append(rInPath); buf.append(" -o "); @@ -173,7 +173,7 @@ bool handleFile(const OString& rProject, const OUString& rUrl, const OString& rP { struct Command { OUStringLiteral extension; - OString executable; + std::string executable; bool positive; }; static Command const commands[] = { |