[Libreoffice-commits] .: Branch 'feature/killsdf' - l10ntools/inc l10ntools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 11 11:53:58 PDT 2012


 l10ntools/inc/po.hxx       |    2 +-
 l10ntools/source/merge.cxx |    2 +-
 l10ntools/source/po.cxx    |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit c6b26144c93aa5222e4260c5b0ef45ce5bdc18d2
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date:   Thu Oct 11 20:50:19 2012 +0200

    Use isFuzzy() instead of getFuzzy()
    
    to make more obvious its aim
    
    Change-Id: Idc98ae8ce2218c9d387c4f2cb6e4d5603b56aab3

diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx
index 060bb17..856c7bb 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 b47d556..80188f5 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 bddf198..9dd6d6a 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


More information about the Libreoffice-commits mailing list