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/po.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/po.cxx')
-rw-r--r-- | l10ntools/source/po.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index 7bfa070e64ce..856a76b61835 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -129,19 +129,19 @@ void GenPoEntry::writeToFile(std::ofstream& rOFStream) const if ( !m_sExtractCom.isEmpty() ) rOFStream << "#. " - << m_sExtractCom.replaceAll("\n","\n#. ").getStr() << std::endl; + << m_sExtractCom.replaceAll("\n","\n#. ") << std::endl; if ( !m_sReference.isEmpty() ) - rOFStream << "#: " << m_sReference.getStr() << std::endl; + rOFStream << "#: " << m_sReference << std::endl; if ( m_bFuzzy ) rOFStream << "#, fuzzy" << std::endl; if ( !m_sMsgCtxt.isEmpty() ) rOFStream << "msgctxt " - << lcl_GenMsgString(m_sReference+"\n"+m_sMsgCtxt).getStr() + << lcl_GenMsgString(m_sReference+"\n"+m_sMsgCtxt) << std::endl; rOFStream << "msgid " - << lcl_GenMsgString(m_sMsgId).getStr() << std::endl; + << lcl_GenMsgString(m_sMsgId) << std::endl; rOFStream << "msgstr " - << lcl_GenMsgString(m_sMsgStr).getStr() << std::endl; + << lcl_GenMsgString(m_sMsgStr) << std::endl; } void GenPoEntry::readFromFile(std::ifstream& rIFStream) |