summaryrefslogtreecommitdiff
path: root/svx
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
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')
-rw-r--r--svx/source/engine3d/view3d.cxx10
-rw-r--r--svx/source/form/ParseContext.cxx6
2 files changed, 8 insertions, 8 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;
}
diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx
index e16b614efba3..d86892ac804a 100644
--- a/svx/source/form/ParseContext.cxx
+++ b/svx/source/form/ParseContext.cxx
@@ -144,7 +144,7 @@ IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode(const OS
namespace
{
- ::osl::Mutex& getSafteyMutex()
+ ::osl::Mutex& getSafetyMutex()
{
static ::osl::Mutex s_aSafety;
return s_aSafety;
@@ -177,7 +177,7 @@ namespace
OParseContextClient::OParseContextClient()
{
- ::osl::MutexGuard aGuard( getSafteyMutex() );
+ ::osl::MutexGuard aGuard( getSafetyMutex() );
if ( 1 == osl_atomic_increment( &getCounter() ) )
{ // first instance
getSharedContext( new OSystemParseContext, false );
@@ -187,7 +187,7 @@ OParseContextClient::OParseContextClient()
OParseContextClient::~OParseContextClient()
{
- ::osl::MutexGuard aGuard( getSafteyMutex() );
+ ::osl::MutexGuard aGuard( getSafetyMutex() );
if ( 0 == osl_atomic_decrement( &getCounter() ) )
delete getSharedContext(nullptr,true);
}