diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-10-31 23:08:42 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-11-01 10:03:52 +0100 |
commit | df22a20beb6b2383baaaf9043ef9db8f9035b69f (patch) | |
tree | fbe8a6baa5bc22bcec6ae5cfa5bb2862710e8660 | |
parent | a689cf1672e89cb78fbcfa14c505850927e71f58 (diff) |
Fix typo
Change-Id: If2f4e9af927be2f335bdbbf0d81f8a89cc8b9019
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105127
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 302b76036384..7701358562d0 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -952,7 +952,7 @@ void ScDrawLayer::InitializeCellAnchoredObj(SdrObject* pObj, ScDrawObjData& rDat lcl_SetLogicRectFromAnchor(pObj, rNoRotatedAnchor, pDoc); } } - else // aAnchorType == SCA_CELL, other types will not occure here. + else // aAnchorType == SCA_CELL, other types will not occur here. { // XML has no end cell address in this case. We generate it from position. UpdateCellAnchorFromPositionEnd(*pObj, rNoRotatedAnchor, *pDoc, nTab1, @@ -964,7 +964,7 @@ void ScDrawLayer::InitializeCellAnchoredObj(SdrObject* pObj, ScDrawObjData& rDat rNoRotatedAnchor.setShapeRect(GetDocument(), pObj->GetLogicRect(), true); // Start and end addresses and offsets in rData refer to the actual snap rectangle of the - // shape. We initialize them here based on the "full" sized object. Adaption to reduced size + // shape. We initialize them here based on the "full" sized object. Adaptation to reduced size // (by hidden row/col) is done later in RecalcPos. GetCellAnchorFromPosition(pObj->GetSnapRect(), rData, *pDoc, nTab1, false /*bHiddenAsZero*/); @@ -976,11 +976,11 @@ void ScDrawLayer::InitializeCellAnchoredObj(SdrObject* pObj, ScDrawObjData& rDat || pDoc->ColHidden(rData.maStart.Col(), rData.maStart.Tab()))) pObj->SetVisible(false); - // Set visibiliy. ToDo: Really used? + // Set visibility. ToDo: Really used? rNoRotatedAnchor.setShapeRect(GetDocument(), pObj->GetLogicRect(), pObj->IsVisible()); // And set maShapeRect in rData. It stores not only the current rectangles, but currently, - // existance of maShapeRect is the flag for initialization is done. + // existence of maShapeRect is the flag for initialization is done. rData.setShapeRect(GetDocument(), pObj->GetSnapRect(), pObj->IsVisible()); pObj->getSdrModelFromSdrObject().setLock(bWasLocked); |