diff options
-rw-r--r-- | l10ntools/source/po.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index cf0b9632d854..0649efedac0a 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -427,7 +427,9 @@ PoEntry::PoEntry(const OString& rSDFLine, const TYPE eType) only three element*/ } m_aGenPo.setContext(sContext); - setUnTransStr(vParts[eType]); + m_aGenPo.setUnTransStr( + ImplUnEscapeSDFText( + vParts[eType],vParts[SOURCEFILE].endsWith(".xhp"))); m_aGenPo.genKeyId(); m_bIsInitialized = true; } @@ -522,14 +524,6 @@ OString PoEntry::getTransStr() const } -//Set translation string when input is in sdf format -void PoEntry::setUnTransStr(const OString& rUnTransStr) -{ - m_aGenPo.setUnTransStr( - ImplUnEscapeSDFText( - rUnTransStr,getSourceFile().endsWith(".xhp"))); -} - //Set translated string when input is in sdf format void PoEntry::setTransStr(const OString& rTransStr) { |