summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2023-12-29 09:46:21 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-12-29 11:02:35 +0100
commit843bfb382fa9ed4bfab8ef758ebb44a7c5a2de9d (patch)
tree283354e29c383d181511ec1c5118ac5acc74c244 /sc
parent605c2888786b02e34ab586aa462cc1e84843dad2 (diff)
Fix typo
Change-Id: I917bf16ef48eb2c513d54e19ff6ba482323ebf2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161399 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/document10.cxx2
-rw-r--r--sc/source/core/data/patattr.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx
index 08c4886d5e61..a1aeef5d7e7b 100644
--- a/sc/source/core/data/document10.cxx
+++ b/sc/source/core/data/document10.cxx
@@ -333,7 +333,7 @@ void ScDocument::SharePooledResources( const ScDocument* pSrcDoc )
mxPoolHelper = pSrcDoc->mxPoolHelper;
mpCellStringPool = pSrcDoc->mpCellStringPool;
- // force lazy creation/existance in source document *before* sharing
+ // force lazy creation/existence in source document *before* sharing
pSrcDoc->getCellAttributeHelper();
mpCellAttributeHelper = pSrcDoc->mpCellAttributeHelper;
}
diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx
index 871095ec7bf1..6d16cd716c9d 100644
--- a/sc/source/core/data/patattr.cxx
+++ b/sc/source/core/data/patattr.cxx
@@ -196,7 +196,7 @@ void CellAttributeHelper::UpdateAllStyleSheets(ScDocument& rDoc)
for (const ScPatternAttr* pCheck : maRegisteredCellAttributes)
const_cast<ScPatternAttr*>(pCheck)->UpdateStyleSheet(rDoc);
- // force existance, then access
+ // force existence, then access
getDefaultCellAttribute();
mpDefaultCellAttribute->UpdateStyleSheet(rDoc);
}
@@ -206,7 +206,7 @@ void CellAttributeHelper::AllStylesToNames()
for (const ScPatternAttr* pCheck : maRegisteredCellAttributes)
const_cast<ScPatternAttr*>(pCheck)->StyleToName();
- // force existance, then access
+ // force existence, then access
getDefaultCellAttribute();
mpDefaultCellAttribute->StyleToName();
}