summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)