summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/po.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index e59db110dcc7..ce71207ec3e5 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -252,7 +252,8 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream)
m_sMsgStr = lcl_GenNormString(sLine.copy(7));
pLastMsg = &m_sMsgStr;
}
- else if (sLine.startsWith("\"") && pLastMsg)
+ else if (sLine.startsWith("\"") && pLastMsg &&
+ (pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\"") )
{
if ( pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\\n\"" )
{