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

kripton yeliztaneroglu at gmail.com
Sun Oct 4 03:22:26 PDT 2015


 sw/source/uibase/shells/drwbassh.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 68c10e2c9db529cc9586579ed735a0823d0a3567
Author: kripton <yeliztaneroglu at gmail.com>
Date:   Sun Oct 4 00:05:46 2015 +0300

    Replaced "n" prefix for bool variables with "b".
    
    Change-Id: I3189e3fb8ccfb6a883945a4d637dc9330e41103c
    Reviewed-on: https://gerrit.libreoffice.org/19113
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx
index 196d1af..51707f6 100644
--- a/sw/source/uibase/shells/drwbassh.cxx
+++ b/sw/source/uibase/shells/drwbassh.cxx
@@ -598,12 +598,12 @@ IMPL_LINK_TYPED( SwDrawBaseShell, CheckGroupShapeNameHdl, AbstractSvxObjectNameD
     const OUString sCurrentName = pObj->GetName();
     OUString sNewName;
     rNameDialog.GetName(sNewName);
-    bool nRet = false;
+    bool bRet = false;
     if (sNewName.isEmpty() || sCurrentName == sNewName)
-        nRet = true;
+        bRet = true;
     else
     {
-        nRet = true;
+        bRet = true;
         SwDrawModel* pModel = rSh.getIDocumentDrawModelAccess().GetDrawModel();
         SdrObjListIter aIter( *(pModel->GetPage(0)), IM_DEEPWITHGROUPS );
         while( aIter.IsMore() )
@@ -611,12 +611,12 @@ IMPL_LINK_TYPED( SwDrawBaseShell, CheckGroupShapeNameHdl, AbstractSvxObjectNameD
             SdrObject* pTempObj = aIter.Next();
             if ( pObj != pTempObj && pTempObj->GetName().equals(sNewName) )
             {
-                nRet = false;
+                bRet = false;
                 break;
             }
         }
     }
-    return nRet;
+    return bRet;
 }
 
 void SwDrawBaseShell::GetState(SfxItemSet& rSet)


More information about the Libreoffice-commits mailing list