summaryrefslogtreecommitdiff
path: root/l10ntools
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
parentdeff93d4f7a2c007ca37bd911a2a36c9fc4bf85f (diff)
aMergedLanguages is write only, can be removed
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/export.hxx2
-rw-r--r--l10ntools/source/export.cxx9
2 files changed, 0 insertions, 11 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 706719c75ec4..0058cf143f9c 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -181,7 +181,6 @@ public:
sal_uInt16 nTitleRefId;
ByteString sTextTyp;
- ByteStringHashMap aMergedLanguages;
ExportList *pStringList;
ExportList *pUIEntries;
@@ -193,7 +192,6 @@ public:
void Dump();
- void addMergedLanguage(rtl::OString& rLang);
ResData( const ByteString &rPF, const ByteString &rGId )
:
nWidth( 0 ),
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( "\"" );