summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-09-19 18:46:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-09-19 21:21:21 +0200
commitc6c3e364697a908949409ab2c77d0e0b021b65d3 (patch)
tree5c7cf01eada83ebef1f7fedffa45a64c741fe121 /slideshow
parent31640cce53e850da53c75e3882375d286c0e9024 (diff)
Fix typos
Change-Id: If24b9756d7fd8f6346580b4da84fac4f5ab1d3ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140198 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawshape.cxx2
-rw-r--r--slideshow/source/engine/shapes/drawshape.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/drawshape.cxx b/slideshow/source/engine/shapes/drawshape.cxx
index bc50fc695375..f7ffbe1de622 100644
--- a/slideshow/source/engine/shapes/drawshape.cxx
+++ b/slideshow/source/engine/shapes/drawshape.cxx
@@ -401,7 +401,7 @@ namespace slideshow::internal
// It lets us detect the potential error case that a PageField is contained in
// the Text of the Shape. That is a hint that maBounds contains the wrong Range
// and needs to be corrected. The correct size is in the PrefSize of the metafile.
- // For more backgrund information please refer to tdf#150402, Comment 16.
+ // For more background information please refer to tdf#150402, Comment 16.
const double fWidthDiff(fabs(mpCurrMtf->GetPrefSize().Width() - maBounds.getWidth()));
const double fHeightDiff(fabs(mpCurrMtf->GetPrefSize().Height() - maBounds.getHeight()));
diff --git a/slideshow/source/engine/shapes/drawshape.hxx b/slideshow/source/engine/shapes/drawshape.hxx
index 4ede703cc982..6c71d151b6fa 100644
--- a/slideshow/source/engine/shapes/drawshape.hxx
+++ b/slideshow/source/engine/shapes/drawshape.hxx
@@ -349,7 +349,7 @@ namespace slideshow::internal
/// whether a drawing layer animation has to be performed
bool mbDrawingLayerAnim;
- /// tdf#150402 wether mpCurrMtf contains any Text with a PageField ("FIELD_SEQ_BEGIN;PageField")
+ /// tdf#150402 whether mpCurrMtf contains any Text with a PageField ("FIELD_SEQ_BEGIN;PageField")
mutable bool mbContainsPageField;
};