[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Jun 18 09:30:45 UTC 2018


 sw/source/uibase/inc/toxmgr.hxx |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 28653d4addd19397200cf880a2e109bedd081fb7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jun 18 09:11:04 2018 +0200

    sw: prefix members of SwTOXMarkDescription
    
    Change-Id: I251c80c4faad7b1b42b3ef33a77b3a93efbf8b95
    Reviewed-on: https://gerrit.libreoffice.org/55981
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins

diff --git a/sw/source/uibase/inc/toxmgr.hxx b/sw/source/uibase/inc/toxmgr.hxx
index 0cf6a5f22745..d75bb100f429 100644
--- a/sw/source/uibase/inc/toxmgr.hxx
+++ b/sw/source/uibase/inc/toxmgr.hxx
@@ -169,9 +169,9 @@ public:
 
 class SwTOXMarkDescription
 {
-    TOXTypes    eTOXType;
-    int         nLevel;
-    bool        bMainEntry;
+    TOXTypes    meTOXType;
+    int         mnLevel;
+    bool        mbMainEntry;
 
     boost::optional<OUString>  maPrimKey;
     boost::optional<OUString>  maSecKey;
@@ -188,19 +188,19 @@ class SwTOXMarkDescription
 public:
     // single argument ctors shall be explicit.
     explicit SwTOXMarkDescription(TOXTypes eType) :
-        eTOXType(eType),
-        nLevel(0),
-        bMainEntry(false)
+        meTOXType(eType),
+        mnLevel(0),
+        mbMainEntry(false)
         {
         }
 
-    TOXTypes        GetTOXType()const {return eTOXType;}
+    TOXTypes        GetTOXType()const {return meTOXType;}
 
-    void            SetLevel(int nSet) {nLevel = nSet;}
-    int             GetLevel() const {return nLevel;}
+    void            SetLevel(int nSet) {mnLevel = nSet;}
+    int             GetLevel() const {return mnLevel;}
 
-    void            SetMainEntry(bool bSet) {bMainEntry = bSet;}
-    bool            IsMainEntry() const {return bMainEntry;}
+    void            SetMainEntry(bool bSet) {mbMainEntry = bSet;}
+    bool            IsMainEntry() const {return mbMainEntry;}
 
     void            SetPrimKey(const OUString& rSet) { maPrimKey = rSet; }
     boost::optional<OUString> const & GetPrimKey() const { return maPrimKey; }


More information about the Libreoffice-commits mailing list