diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-10-11 20:50:19 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2012-10-11 20:50:19 +0200 |
commit | c6b26144c93aa5222e4260c5b0ef45ce5bdc18d2 (patch) | |
tree | d7c073bff8eb5176d785c044d91ff6d9d0583cff /l10ntools | |
parent | 471f2fc3196be0e52ac4ac1ea49f760accd9d4d7 (diff) |
Use isFuzzy() instead of getFuzzy()
to make more obvious its aim
Change-Id: Idc98ae8ce2218c9d387c4f2cb6e4d5603b56aab3
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/po.hxx | 2 | ||||
-rw-r--r-- | l10ntools/source/merge.cxx | 2 | ||||
-rw-r--r-- | l10ntools/source/po.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx index 060bb1799a4f..856c7bb04ff1 100644 --- a/l10ntools/inc/po.hxx +++ b/l10ntools/inc/po.hxx @@ -51,7 +51,7 @@ public: TYPE getType() const; OString getMsgId() const; OString getMsgStr() const; - bool getFuzzy() const; + bool isFuzzy() const; OString getKeyId() const; void setMsgId(const OString& rUnTransStr); void setMsgStr(const OString& rTransStr); diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index b47d556ea9ef..80188f53fb87 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -232,7 +232,7 @@ MergeDataFile::MergeDataFile( if( bInSameComp ) aActPo = aNextPo; OString sTemp = aActPo.getMsgStr(); - if( aActPo.getFuzzy() || sTemp.isEmpty() ) + if( aActPo.isFuzzy() || sTemp.isEmpty() ) sTemp = aActPo.getMsgId(); switch( aActPo.getType() ) { diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index bddf19805e41..9dd6d6adab56 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -52,7 +52,7 @@ public: virtual OString getMsgCtxt() const { return m_sMsgCtxt; } virtual OString getMsgId() const { return m_sMsgId; } virtual OString getMsgStr() const { return m_sMsgStr; } - virtual bool getFuzzy() const { return m_bFuzzy; } + virtual bool isFuzzy() const { return m_bFuzzy; } virtual bool isNull() const { return m_bNull; } virtual void setExtractCom(const OString& rExtractCom); @@ -567,10 +567,10 @@ PoEntry::TYPE PoEntry::getType() const } //Check wheather entry is fuzzy -bool PoEntry::getFuzzy() const +bool PoEntry::isFuzzy() const { assert( m_bIsInitialized ); - return m_pGenPo->getFuzzy(); + return m_pGenPo->isFuzzy(); } //Get keyid |