summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 10:51:34 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-31 14:50:49 +0200
commit3dfbb9d41cf8fad3b41a9528967febcec6ea433b (patch)
treea59c6df780b02067831afced9e3e97a74e42dd8f /svx/source/engine3d
parent60495cc10d7b549c295e7605de7972186391ec69 (diff)
Fix typos in code
It passed "make check" on Linux Change-Id: I9ba795bf188a9fe11d83516d6895888f880747c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101706 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/view3d.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index 2a03587f1fe2..f572b92d1c0e 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -1573,26 +1573,26 @@ void E3dView::CheckPossibilities()
return;
const size_t nMarkCnt = GetMarkedObjectCount();
- bool bCoumpound = false;
+ bool bCompound = false;
bool b3DObject = false;
- for(size_t nObjs = 0; (nObjs < nMarkCnt) && !bCoumpound; ++nObjs)
+ for(size_t nObjs = 0; (nObjs < nMarkCnt) && !bCompound; ++nObjs)
{
SdrObject *pObj = GetMarkedObjectByIndex(nObjs);
if(dynamic_cast< const E3dCompoundObject* >(pObj))
- bCoumpound = true;
+ bCompound = true;
if(dynamic_cast< const E3dObject* >(pObj))
b3DObject = true;
}
// So far: there are two or more of any objects selected. See if
// compound objects are involved. If yes, ban grouping.
- if(m_bGroupPossible && bCoumpound)
+ if(m_bGroupPossible && bCompound)
m_bGroupPossible = false;
if(m_bUnGroupPossible && b3DObject)
m_bUnGroupPossible = false;
- if(m_bGrpEnterPossible && bCoumpound)
+ if(m_bGrpEnterPossible && bCompound)
m_bGrpEnterPossible = false;
}