[Libreoffice-commits] .: Branch 'feature/killsdf' - l10ntools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Nov 18 05:24:53 PST 2012


 l10ntools/source/po.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7f81bbb1c7f090d9e962e5c2cb7b694298bfe1c8
Author: Ztamas <zolnaitamas2000g at gmail.com>
Date:   Sun Nov 18 12:07:58 2012 +0100

    Correct skiping source file line of  msgctxt
    
    Change-Id: I64635dd7a6352300ed5fb6949a1b78c2a070c660

diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index ce71207..e59db11 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -252,8 +252,7 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream)
             m_sMsgStr = lcl_GenNormString(sLine.copy(7));
             pLastMsg = &m_sMsgStr;
         }
-        else if (sLine.startsWith("\"") && pLastMsg &&
-           (pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\"") )
+        else if (sLine.startsWith("\"") && pLastMsg)
         {
             if ( pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\\n\"" )
             {


More information about the Libreoffice-commits mailing list