summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-02-13 18:27:09 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-02-14 08:55:39 +0100
commitfa4def2a2b93868b3750df06b7655801639b5233 (patch)
tree7cffbe4c41ee480749d7f380011291ef14436431
parentit does not make sense to check for nullptr and then access anyway (diff)
downloadcore-fa4def2a2b93868b3750df06b7655801639b5233.tar.gz
core-fa4def2a2b93868b3750df06b7655801639b5233.zip
Fix typos
Change-Id: I76d50754a660e006e5913b89caa491cc21d6f9dc Reviewed-on: https://gerrit.libreoffice.org/49588 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--formula/source/core/api/token.cxx2
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
-rw-r--r--vcl/source/window/paint.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 05ca4cf5e1e9..13d6914392db 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1224,7 +1224,7 @@ bool FormulaMissingContext::AddMissing( FormulaTokenArray *pNewArr, const Missin
// --- more complex cases ---
case ocOffset:
- // FIXME: rather tough.
+ // FIXME: rather tough
// if arg 3 (height) omitted, export arg1 (rows)
break;
default:
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 4e2eb99438ce..61195cbeef8b 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -1517,7 +1517,7 @@ SwTwips SwFrame::Shrink( SwTwips nDist, bool bTst, bool bInfo )
* size changes. There is always a frame that takes the maximum possible space (the frame that
* contains the Body text) and zero or more frames which only take the space needed (header/footer
* area, footnote container). If one of these frames changes, the body-text-frame has to grow or
- * shrink accordingly, even tough it's fixed.
+ * shrink accordingly, even though it's fixed.
*
* !! Is it possible to do this in a generic way and not restrict it to the page and a distinct
* frame which takes the maximum space (controlled using the FrameSize attribute)?
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 54d61ac9dfe1..7862ced5d018 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1338,7 +1338,7 @@ void Window::ImplPaintToDevice( OutputDevice* i_pTargetOutDev, const Point& i_rP
{
if(GetMapMode().GetMapUnit() != MapUnit::MapPixel &&
// Some of the preview windows (SvxPreviewBase) uses different painting (drawinglayer primitives)
- // For these preview we don't need to scale even tough the unit is not pixel.
+ // For these preview we don't need to scale even though the unit is not pixel.
GetMapMode().GetMapUnit() != MapUnit::Map100thMM)
{
bNeedsScaling = true;