diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-09-30 17:54:37 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-09-30 18:31:08 +0000 |
commit | 0359041aac89ef07325f6b8baa2d5ff304e833b5 (patch) | |
tree | 5203e09fcc947c089464ec163ddf444ecb6e7782 /l10ntools/source | |
parent | 004f4fae87fe4fe3c31948d55206291b6de64ba9 (diff) |
Corrections for merge
-Correct po type-checking
-Use new "lang" variable instead of
nonexistent one
-Add input parameter to ulfex
Change-Id: I1dc17363179d69d40144b6a998eb1bf223bd05e9
Reviewed-on: https://gerrit.libreoffice.org/736
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/po.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index f929ce70dc18..b9e1c17589ae 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -481,7 +481,7 @@ OString PoEntry::getResourceType() const PoEntry::TYPE PoEntry::getType() const { const OString sContext = m_aGenPo.getContext(); - const OString sType = sContext.copy( sContext.indexOf('.') + 1 ); + const OString sType = sContext.copy( sContext.lastIndexOf('.') + 1 ); assert( m_bIsInitialized && (sType == "text" || sType == "quickhelptext" || sType == "title") ); if ( sType == "text" ) |