diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-25 00:42:27 +0200 |
---|---|---|
committer | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-25 07:07:25 +0200 |
commit | 5ccc8124a03cffca3a1848f754524a06a063cb51 (patch) | |
tree | 3456a0c42c38a1936680a4266fbb76c4d585025f /sw | |
parent | ed882d693f37779e3a09641e7cd43b7a925d2312 (diff) |
Fix typos
Change-Id: I59a0fd175fa5185c15d093d2d9bed9f95bb4cfd5
Reviewed-on: https://gerrit.libreoffice.org/76280
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/tox.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 75bf9d6e189c..d023cf1961f0 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -431,7 +431,7 @@ public: virtual bool GetInfo( SfxPoolItem& rInfo ) const override; // a kind of CopyCtor - check if the TOXBase is at TOXType of the doc. - // If not, so create it an copy all other used things. + // If not, so create it and copy all other used things. void CopyTOXBase( SwDoc*, const SwTOXBase& ); const SwTOXType* GetTOXType() const; diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index 6492f1d00133..240b14e2d56a 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -48,7 +48,7 @@ using namespace ::sw::mark; namespace { // #i59534: If a paragraph will be splitted we have to restore some redline positions - // This help function checks a position compared with a node and an content index + // This help function checks a position compared with a node and a content index static const int BEFORE_NODE = 0; // Position before the given node index static const int BEFORE_SAME_NODE = 1; // Same node index but content index before given content index diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 23978cdac54a..cee313b37ddc 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -2023,7 +2023,7 @@ void SwViewShell::InvalidateLayout( bool bSizeChanged ) OSL_ENSURE( GetLayout(), "Layout not ready" ); // When the Layout doesn't have a height yet, nothing is formatted. - // That leads to problems with Invalidate, e.g. when setting up an new View + // That leads to problems with Invalidate, e.g. when setting up a new View // the content is inserted and formatted (regardless of empty VisArea). // Therefore the pages must be roused for formatting. if( !GetLayout()->getFrameArea().Height() ) |