diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-26 10:58:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-28 19:44:08 +0200 |
commit | ef513fd4b049b214a03fbe6e62a5ea43680a7a9b (patch) | |
tree | 82f2ce93bc8e5fde6dce8685b633c3d643c9f069 /l10ntools/source/localize.cxx | |
parent | rdm#2247 enable Upper Sorbian for languagepack/UI (diff) | |
download | core-ef513fd4b049b214a03fbe6e62a5ea43680a7a9b.tar.gz core-ef513fd4b049b214a03fbe6e62a5ea43680a7a9b.zip |
remove unnecessary use of OString::getStr
Change-Id: I0490efedf459190521f4339854b3394d57765fdb
Reviewed-on: https://gerrit.libreoffice.org/38058
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source/localize.cxx')
-rw-r--r-- | l10ntools/source/localize.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 2d3265871720..b977562fba2f 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -94,7 +94,7 @@ void handleCommand( const OString cmd = buf.makeStringAndClear(); if (system(cmd.getStr()) != 0) { - cerr << "Error: Failed to execute " << cmd.getStr() << '\n'; + cerr << "Error: Failed to execute " << cmd << '\n'; throw false; //TODO } } @@ -116,7 +116,7 @@ void InitPoFile( << ("Error: Cannot convert pathname to URL in " __FILE__ ", in line ") << __LINE__ << "\n outDir: " - << OUStringToOString(outDir, RTL_TEXTENCODING_ASCII_US).getStr() + << outDir << "\n"; throw false; //TODO } @@ -130,7 +130,7 @@ void InitPoFile( { cerr << "Error: Cannot open po file " - << rOutPath.getStr() << "\n"; + << rOutPath << "\n"; throw false; //TODO } @@ -231,7 +231,7 @@ void handleFilesOfDir( { cerr << "Error: Cannot remove entryless pot file: " - << sPotFile.getStr() << "\n"; + << sPotFile << "\n"; throw false; //TODO } } @@ -395,7 +395,7 @@ void handleDirectory( << ("Error: Cannot convert pathname to URL in " __FILE__ ", in line ") << __LINE__ << "\n" - << OUStringToOString(sPoPath, RTL_TEXTENCODING_UTF8).getStr() + << sPoPath << "\n"; throw false; //TODO } @@ -423,7 +423,7 @@ void handleProjects(char * sSourceRoot, char const * sDestRoot) << ("Error: Cannot convert pathname to URL in " __FILE__ ", in line ") << __LINE__ << "\n root16: " - << OUStringToOString(root16, RTL_TEXTENCODING_ASCII_US).getStr() + << root16 << "\n"; throw false; //TODO } |