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/propmerge.cxx | |
parent | 826f1bca40a01f0a249d5b6cbb7c39c11638a060 (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/propmerge.cxx')
-rw-r--r-- | l10ntools/source/propmerge.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index 9ae073931118..bb58876c5d14 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -113,7 +113,7 @@ PropParser::PropParser( { std::cerr << "Propex error: Cannot open source file: " - << m_sSource.getStr() << std::endl; + << m_sSource << std::endl; return; } m_bIsInitialized = true; @@ -132,7 +132,7 @@ void PropParser::Extract( const OString& rPOFile ) { std::cerr << "Propex error: Cannot open pofile for extract: " - << rPOFile.getStr() << std::endl; + << rPOFile << std::endl; return; } @@ -163,7 +163,7 @@ void PropParser::Merge( const OString &rMergeSrc, const OString &rDestinationFil if( !aDestination.is_open() ) { std::cerr << "Propex error: Cannot open source file for merge: " - << rDestinationFile.getStr() << std::endl; + << rDestinationFile << std::endl; return; } @@ -178,8 +178,8 @@ void PropParser::Merge( const OString &rMergeSrc, const OString &rDestinationFil std::cerr << ("Propex error: given language conflicts with language of" " Mergedata file: ") - << m_sLang.getStr() << " - " - << vLanguages[0].getStr() << std::endl; + << m_sLang << " - " + << vLanguages[0] << std::endl; return; } } @@ -210,18 +210,18 @@ void PropParser::Merge( const OString &rMergeSrc, const OString &rDestinationFil } if( !sNewText.isEmpty() ) { - aDestination << OString(sID + "=").getStr(); + aDestination << OString(sID + "="); lcl_PrintJavaStyle( sNewText, aDestination ); aDestination << std::endl; } else { - aDestination << sLine.getStr() << std::endl; + aDestination << sLine << std::endl; } } else { - aDestination << sLine.getStr() << std::endl; + aDestination << sLine << std::endl; } } aDestination.close(); |