diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-09-27 10:53:45 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-09-27 10:54:30 +0200 |
commit | 82a844a688ea0db38190fbd57e42e56d0403c00d (patch) | |
tree | 148b2086c729c03f7426a51c43cfd788893a6243 /l10ntools | |
parent | 4c809cd1c5141b3a0a531cc21d0fd5e03401dc19 (diff) |
fix po import of PairedList
Change-Id: Ie086cf59ae86a845e0b84e0ecba7f7e578d83783
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/export.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index 864e7b2290eb..f68cf29f1fe5 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -1303,10 +1303,7 @@ bool Export::GetAllMergeEntrysOfList(ResData *pResData, std::vector<MergeEntrys* pResData->sId = OString::number(nLIndex); MergeEntrys* pEntrys = pMergeDataFile->GetMergeEntrys( pResData ); - if( pEntrys ) - { - o_vMergeEntrys.push_back(pEntrys); - } + o_vMergeEntrys.push_back(pEntrys); } return true; } @@ -1470,7 +1467,7 @@ void Export::MergeRest( ResData *pResData, sal_uInt16 nMode ) } } - if( bTranslateList && nLIndex < vMergeEntryVector.size() ) + if( bTranslateList && nLIndex < vMergeEntryVector.size() && vMergeEntryVector[nLIndex] ) { OString sText; sal_Bool bText; |