diff options
Diffstat (limited to 'l10ntools/source/po.cxx')
-rw-r--r-- | l10ntools/source/po.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index f8749ace650d..c317f5ba170c 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -174,7 +174,7 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream) } while(!rIFStream.eof()) { - OString sLine = OString(sTemp.data(),sTemp.length()); + OString sLine(sTemp.data(),sTemp.length()); if (sLine.startsWith("#. ")) { if( !m_sExtractCom.isEmpty() ) @@ -580,7 +580,7 @@ void PoIfstream::open( const OString& rFileName, OString& rPoHeader ) while( !sTemp.empty() && !m_aInPut.eof() ) { std::getline(m_aInPut,sTemp); - OString sLine = OString(sTemp.data(),sTemp.length()); + OString sLine(sTemp.data(),sTemp.length()); if (sLine.startsWith("\"PO-Revision-Date")) rPoHeader += "PO-Revision-Date: " + lcl_GetTime() + "\n"; else if (sLine.startsWith("\"X-Generator")) |