diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-08-29 12:42:11 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-29 11:16:05 +0000 |
commit | 6c03bb4ab1e954e246c57db6f474c56e10763d9a (patch) | |
tree | b3563818f3df9ef3a01304bf8dd2cb5b50589daa /l10ntools/inc/po.hxx | |
parent | 305ecb308a9b6f54263fd526cfdda9167fcaab56 (diff) |
Improve KeyId generation
Move KeyId from PoEntry to GenPoEntry to make
these classes more separated.
Replace crc24 with crc32 (boost/crc).
Extend KeyId's charset to [33,126] intervallum of ASCII
Change-Id: If761a572e2a2651af3eab253a1582569ea68e440
Reviewed-on: https://gerrit.libreoffice.org/509
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'l10ntools/inc/po.hxx')
-rw-r--r-- | l10ntools/inc/po.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx index fddd9074cf9d..3330afb0e880 100644 --- a/l10ntools/inc/po.hxx +++ b/l10ntools/inc/po.hxx @@ -44,6 +44,7 @@ private: OString m_sUnTransStr; OString m_sTransStr; bool m_bFuzzy; + OString m_sKeyId; public: GenPoEntry(); @@ -63,7 +64,7 @@ public: { m_sTransStr = rTransStr; } virtual void setFuzzy(bool bFuzzy) { m_bFuzzy = bFuzzy; } - + virtual void genKeyId(); virtual void writeToFile(std::ofstream& io_rOFStream); }; @@ -82,7 +83,6 @@ private: OString m_sResourceType; TYPE m_eType; OString m_sHelpText; - OString m_sKeyId; public: |