summaryrefslogtreecommitdiff
path: root/transex3/inc
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-04-19 14:17:26 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-04-19 14:17:26 +0000
commite867ed513b4f1560a5ed92f21aa873462afd1c39 (patch)
tree117e4aa7ca79972c22eeafefb4f2c98166db9430 /transex3/inc
parentbdb9ea25266e2559aee35eda1265462034fa1fd6 (diff)
INTEGRATION: CWS mergede01 (1.22.2); FILE MERGED
2007/03/19 15:32:07 ihi 1.22.2.1: #i72301# Remove German
Diffstat (limited to 'transex3/inc')
-rw-r--r--transex3/inc/export.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/transex3/inc/export.hxx b/transex3/inc/export.hxx
index 6e71d64e682f..9c621cc5e77f 100644
--- a/transex3/inc/export.hxx
+++ b/transex3/inc/export.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: export.hxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: kz $ $Date: 2006-12-12 15:51:06 $
+ * last change: $Author: ihi $ $Date: 2007-04-19 15:17:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -102,7 +102,7 @@ typedef std::hash_map<ByteString , PFormEntrys* , hashByteString,equalByteString
typedef std::hash_map<ByteString , MergeData* , hashByteString,equalByteString>
MergeDataHashMap;
-#define GERMAN_LIST_LINE_INDEX ByteString("de")
+#define SOURCE_LANGUAGE ByteString("en-US")
#define LIST_REFID "LIST_REFID"
typedef ByteStringHashMap ExportListEntry;
@@ -116,12 +116,12 @@ DECLARE_LIST( ExportListBase, ExportListEntry * )
class ExportList : public ExportListBase
{
private:
- ULONG nGermanEntryCount;
+ ULONG nSourceLanguageListEntryCount;
public:
- ExportList() : ExportListBase() { nGermanEntryCount = 0; }
- ULONG GetGermanEntryCount() { return nGermanEntryCount; }
- void NewGermanEntry() { nGermanEntryCount++; }
+ ExportList() : ExportListBase() { nSourceLanguageListEntryCount = 0; }
+ ULONG GetSourceLanguageListEntryCount() { return nSourceLanguageListEntryCount; }
+ void NewSourceLanguageListEntry() { nSourceLanguageListEntryCount++; }
};
#define REFID_NONE 0xFFFF
@@ -351,8 +351,9 @@ public:
static const char* GetEnv( const char *pVar );
static int getCurrentDirectory( rtl::OUString& base_fqurl , rtl::OUString& base );
+ static bool isSourceLanguage( const ByteString &sLanguage );
static bool isAllowed( const ByteString &sLanguage );
- static bool isMergingGermanAllowed( const ByteString& rPrj );
+ //static bool isMergingGermanAllowed( const ByteString& rPrj );
static bool LanguageAllowed( const ByteString &nLanguage );
static void Languages( std::vector<ByteString>::const_iterator& begin , std::vector<ByteString>::const_iterator& end );