summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorkripton <yeliztaneroglu@gmail.com>2015-10-04 00:05:46 +0300
committerJulien Nabet <serval2412@yahoo.fr>2015-10-04 10:22:00 +0000
commit68c10e2c9db529cc9586579ed735a0823d0a3567 (patch)
treeb3619d04a1c495d11838aa3f8c6c1927b4fea3df /sw/source
parenta28f5f963d16e6355aadd2f27c3348e7679e785b (diff)
Replaced "n" prefix for bool variables with "b".
Change-Id: I3189e3fb8ccfb6a883945a4d637dc9330e41103c Reviewed-on: https://gerrit.libreoffice.org/19113 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/shells/drwbassh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx
index 196d1afa6609..51707f677cd3 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)