diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-10-10 14:21:58 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-10-10 14:56:40 +0200 |
commit | 9ebb37f39bb85b1b900916c54ffd4e82f79186a0 (patch) | |
tree | 48cb1df8c241a2c3a2c54a6c45bb326363123973 /l10ntools/inc | |
parent | Use _t suffix for typedef (diff) | |
download | core-9ebb37f39bb85b1b900916c54ffd4e82f79186a0.tar.gz core-9ebb37f39bb85b1b900916c54ffd4e82f79186a0.zip |
Relocate KeyId to PoEntry
KeyId is PoEntry specific attribute rather than
part of GenPoEntry. In GenPoEntry it is just
part of extracted comment.
Four character long helptext/x-comment can lead to
incorrect behaviour during file reading.
With checking it in sdf-po constructor we can prevent
this kind of po comming into existence.
Change-Id: I48cc8f34d2c1ca8b86baea25384f5b697f16dd66
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/po.hxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx index 9163e6a10230..d1112e1730d8 100644 --- a/l10ntools/inc/po.hxx +++ b/l10ntools/inc/po.hxx @@ -29,7 +29,6 @@ private: OString m_sTransStr; bool m_bFuzzy; bool m_bNull; - OString m_sKeyId; public: @@ -45,7 +44,6 @@ public: virtual OString getTransStr() const { return m_sTransStr; } virtual bool getFuzzy() const { return m_bFuzzy; } virtual bool isNull() const { return m_bNull; } - virtual OString getKeyId() const { return m_sKeyId; } virtual void setWhiteSpace(const OString& rWhiteSpace); virtual void setExtractCom(const OString& rExtractCom); @@ -54,7 +52,6 @@ public: virtual void setUnTransStr(const OString& rUnTransStr); virtual void setTransStr(const OString& rTransStr); virtual void setFuzzy(const bool bFuzzy); - virtual void genKeyId(); virtual void writeToFile(std::ofstream& rOFStream) const; virtual void readFromFile(std::ifstream& rIFStream); |