summaryrefslogtreecommitdiffstats
path: root/l10ntools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-21 21:39:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:03 +0100
commit075cd18020cf27250e052e43f08d7b8e99d53718 (patch)
tree4a8790e3d93e02d99105b4677d660be784b0afeb /l10ntools/source
parentcallcatcher: newly unused ResData::isMerged (diff)
downloadcore-075cd18020cf27250e052e43f08d7b8e99d53718.tar.gz
core-075cd18020cf27250e052e43f08d7b8e99d53718.zip
aMergedLanguages is write only, can be removed
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/export.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 3b6411560e23..672a8cf48fc0 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -350,11 +350,6 @@ void ResData::Dump(){
printf("\n");
}
-void ResData::addMergedLanguage(rtl::OString& rLang)
-{
- aMergedLanguages[rLang] = rtl::OString(RTL_CONSTASCII_STRINGPARAM("1"));
-}
-
/*****************************************************************************/
sal_Bool ResData::SetId( const ByteString &rId, sal_uInt16 nLevel )
/*****************************************************************************/
@@ -1750,11 +1745,7 @@ sal_Bool Export::PrepareTextToMerge(ByteString &rText, sal_uInt16 nTyp,
{
ExportListEntry *pCurEntry = (*pList)[ nListIndex - 1 ];
if ( pCurEntry )
- {
rText = (*pCurEntry)[ SOURCE_LANGUAGE ];
- if( nTyp == LIST_PAIRED )
- pResData->addMergedLanguage(rLangIndex);
- }
}
nStart = rText.Search( "\"" );