summaryrefslogtreecommitdiff
path: root/l10ntools/source/treemerge.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-26 10:58:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-28 19:44:08 +0200
commitef513fd4b049b214a03fbe6e62a5ea43680a7a9b (patch)
tree82f2ce93bc8e5fde6dce8685b633c3d643c9f069 /l10ntools/source/treemerge.cxx
parent826f1bca40a01f0a249d5b6cbb7c39c11638a060 (diff)
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/treemerge.cxx')
-rw-r--r--l10ntools/source/treemerge.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx
index a0c738cc0782..95b6ab2595dc 100644
--- a/l10ntools/source/treemerge.cxx
+++ b/l10ntools/source/treemerge.cxx
@@ -130,7 +130,7 @@ namespace
{
std::cerr
<< "Treex error: Cannot find title in "
- << sXhpPath.getStr() << std::endl;
+ << sXhpPath << std::endl;
return nullptr;
}
xmlFree( pXhpFile );
@@ -208,7 +208,7 @@ TreeParser::TreeParser(
if ( !m_pSource ) {
std::cerr
<< "Treex error: Cannot open source file: "
- << rInputFile.getStr() << std::endl;
+ << rInputFile << std::endl;
return;
}
if( !m_pSource->name )
@@ -231,7 +231,7 @@ void TreeParser::Extract( const OString& rPOFile )
{
std::cerr
<< "Treex error: Cannot open po file for extract: "
- << rPOFile.getStr() << std::endl;
+ << rPOFile << std::endl;
return;
}
@@ -264,8 +264,8 @@ void TreeParser::Merge(
std::cerr
<< ("Treex error: given language conflicts with language of"
" Mergedata file: ")
- << m_sLang.getStr() << " - "
- << vLanguages[0].getStr() << std::endl;
+ << m_sLang << " - "
+ << vLanguages[0] << std::endl;
delete pMergeDataFile;
return;
}