summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /sw
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/crsskip.hxx2
-rw-r--r--sw/inc/editsh.hxx2
-rw-r--r--sw/inc/fesh.hxx2
-rw-r--r--sw/inc/ndtxt.hxx2
-rw-r--r--sw/inc/swtypes.hxx2
-rw-r--r--sw/inc/tblafmt.hxx2
-rw-r--r--sw/inc/tox.hxx2
-rw-r--r--sw/inc/viewsh.hxx2
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport3.cxx4
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport6.cxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx2
-rw-r--r--sw/qa/extras/rtfimport/rtfimport.cxx2
-rw-r--r--sw/qa/python/check_table.py2
-rw-r--r--sw/sdi/_textsh.sdi2
-rw-r--r--sw/source/core/SwNumberTree/SwNumberTree.cxx2
-rw-r--r--sw/source/core/bastyp/init.cxx2
-rw-r--r--sw/source/core/bastyp/swcache.cxx2
-rw-r--r--sw/source/core/crsr/crstrvl.cxx2
-rw-r--r--sw/source/core/crsr/findtxt.cxx2
-rw-r--r--sw/source/core/doc/DocumentRedlineManager.cxx2
-rw-r--r--sw/source/core/doc/DocumentStylePoolManager.cxx2
-rw-r--r--sw/source/core/doc/docedt.cxx2
-rw-r--r--sw/source/core/doc/docfld.cxx2
-rw-r--r--sw/source/core/doc/docfmt.cxx2
-rw-r--r--sw/source/core/doc/doclay.cxx2
-rw-r--r--sw/source/core/doc/poolfmt.cxx2
-rw-r--r--sw/source/core/doc/tblrwcl.cxx2
-rw-r--r--sw/source/core/docnode/finalthreadmanager.cxx2
-rw-r--r--sw/source/core/docnode/ndcopy.cxx2
-rw-r--r--sw/source/core/docnode/ndsect.cxx2
-rw-r--r--sw/source/core/docnode/section.cxx2
-rw-r--r--sw/source/core/draw/dcontact.cxx2
-rw-r--r--sw/source/core/edit/autofmt.cxx4
-rw-r--r--sw/source/core/frmedt/feshview.cxx2
-rw-r--r--sw/source/core/frmedt/fetab.cxx2
-rw-r--r--sw/source/core/inc/rolbck.hxx2
-rw-r--r--sw/source/core/inc/scriptinfo.hxx2
-rw-r--r--sw/source/core/inc/swfont.hxx2
-rw-r--r--sw/source/core/layout/calcmove.cxx4
-rw-r--r--sw/source/core/layout/findfrm.cxx2
-rw-r--r--sw/source/core/layout/flowfrm.cxx6
-rw-r--r--sw/source/core/layout/fly.cxx2
-rw-r--r--sw/source/core/layout/flylay.cxx2
-rw-r--r--sw/source/core/layout/frmtool.cxx2
-rw-r--r--sw/source/core/layout/layact.cxx2
-rw-r--r--sw/source/core/layout/newfrm.cxx2
-rw-r--r--sw/source/core/layout/ssfrm.cxx2
-rw-r--r--sw/source/core/layout/tabfrm.cxx2
-rw-r--r--sw/source/core/layout/trvlfrm.cxx2
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
-rw-r--r--sw/source/core/ole/ndole.cxx2
-rw-r--r--sw/source/core/table/swnewtable.cxx2
-rw-r--r--sw/source/core/text/guess.cxx2
-rw-r--r--sw/source/core/text/inftxt.hxx2
-rw-r--r--sw/source/core/text/itratr.cxx2
-rw-r--r--sw/source/core/text/itrcrsr.cxx2
-rw-r--r--sw/source/core/text/itrform2.cxx2
-rw-r--r--sw/source/core/text/porfld.cxx2
-rw-r--r--sw/source/core/text/porlay.cxx2
-rw-r--r--sw/source/core/text/pormulti.cxx4
-rw-r--r--sw/source/core/text/txtftn.cxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
-rw-r--r--sw/source/core/txtnode/ndhints.cxx2
-rw-r--r--sw/source/core/txtnode/swfont.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--sw/source/core/unocore/unoframe.cxx4
-rw-r--r--sw/source/core/unocore/unoparagraph.cxx2
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx2
-rw-r--r--sw/source/filter/html/css1atr.cxx4
-rw-r--r--sw/source/filter/html/htmltab.cxx2
-rw-r--r--sw/source/filter/html/swhtml.cxx2
-rw-r--r--sw/source/filter/inc/wwstyles.hxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx6
-rw-r--r--sw/source/filter/ww8/rtfstringbuffer.hxx2
-rw-r--r--sw/source/filter/ww8/writerhelper.hxx2
-rw-r--r--sw/source/filter/ww8/writerwordglue.cxx4
-rw-r--r--sw/source/filter/ww8/writerwordglue.hxx2
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx2
-rw-r--r--sw/source/filter/ww8/ww8graf2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par.hxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx4
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx2
-rw-r--r--sw/source/filter/xml/XMLRedlineImportHelper.cxx2
-rw-r--r--sw/source/filter/xml/swxml.cxx2
-rw-r--r--sw/source/filter/xml/xmlimp.cxx2
-rw-r--r--sw/source/filter/xml/xmltbli.cxx4
-rw-r--r--sw/source/ui/chrdlg/break.cxx2
-rw-r--r--sw/source/ui/fldui/fldvar.cxx2
-rw-r--r--sw/source/ui/misc/glossary.cxx2
-rw-r--r--sw/source/ui/misc/titlepage.cxx2
-rw-r--r--sw/source/ui/vba/vbaheadersfooters.cxx2
-rw-r--r--sw/source/uibase/app/docstyle.cxx2
-rw-r--r--sw/source/uibase/config/modcfg.cxx2
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx2
-rw-r--r--sw/source/uibase/fldui/fldwrap.cxx2
-rw-r--r--sw/source/uibase/inc/fldmgr.hxx2
-rw-r--r--sw/source/uibase/inc/frmpage.hxx2
-rw-r--r--sw/source/uibase/inc/pview.hxx2
-rw-r--r--sw/source/uibase/inc/wrtsh.hxx2
-rw-r--r--sw/source/uibase/lingu/hhcwrp.cxx2
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx2
-rw-r--r--sw/source/uibase/uiview/viewprt.cxx2
-rw-r--r--sw/source/uibase/wrtsh/move.cxx2
111 files changed, 127 insertions, 127 deletions
diff --git a/sw/inc/crsskip.hxx b/sw/inc/crsskip.hxx
index a1ed1027eabf..97ec004df2ee 100644
--- a/sw/inc/crsskip.hxx
+++ b/sw/inc/crsskip.hxx
@@ -25,7 +25,7 @@
// define for cursor travelling normally in western text cells and chars do
// the same, but in complex text cell skip over legatures and char skip
// into it.
-// These defines exist only to cut off the dependicies to I18N project.
+// These defines exist only to cut off the dependencies to I18N project.
const sal_uInt16 CRSR_SKIP_CHARS = 0;
const sal_uInt16 CRSR_SKIP_CELLS = 1;
const sal_uInt16 CRSR_SKIP_HIDDEN = 2;
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index f786d84a8d83..6a48ab001d9b 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -303,7 +303,7 @@ public:
* GetXXX(i) returns i-th xxx (ERR_RAISE if beyond range!).
* DelXXX(i) deletes i-th xxx (ERR_RAISE if beyond range!).
* GetCurXXX() returns xxx that is valid at cursor or in ranges.
- * returns 0, if not unanimuous.
+ * returns 0, if not unanimous.
* SetXXX() sets xxx at cursor or in ranges.
* MakeXXX() makes a xxx, derived from pDerivedFrom.
*/
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index f0367287daf2..0c3f2ab1ae93 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -387,7 +387,7 @@ public:
Point FindAnchorPos( const Point &rAbsPos, bool bMoveIt = false );
/** Determines whether a frame or its environment is vertically formatted and right-to-left.
- also determines, if frame or its environmane is in mongolianlayout (vertical left-to-right)
+ also determines, if frame or its environment is in mongolianlayout (vertical left-to-right)
- add output parameter <bVertL2R> */
bool IsFrameVertical(const bool bEnvironment, bool& bRightToLeft, bool& bVertL2R) const;
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index 4a58a1e3560e..c603430c2e26 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -757,7 +757,7 @@ public:
to economize notifications */
bool IsNotificationEnabled() const;
- /// Checks a temporary notification blocker and the global conditons of IsNotificationEnabled()
+ /// Checks a temporary notification blocker and the global conditions of IsNotificationEnabled()
bool IsNotifiable() const;
void SetListRestart( bool bRestart );
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index 5d99dae0ce41..eb17dbe47156 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -256,7 +256,7 @@ enum PrepareHint
PREP_POS_CHGD, // Position of Frame has changed.
// (Check for Fly-break). In void* of Prepare()
// a sal_Bool& is passed. If this is sal_True,
- // it indicateds that a format has been executed.
+ // it indicates that a format has been executed.
PREP_UL_SPACE, // UL-Space has changed, TextFrames have to
// re-calculate line space.
PREP_MUST_FIT, // Make frm fit (split) even if the attributes do
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index f08a5cdc3bcb..129e358053da 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -199,7 +199,7 @@ For example, in a 2x3 table, the 4 lines will be [0, 1, 1, 1]. In each line, the
[0, 1, 2, 5].
As you can see, property extraction/application is lossless for tables that are 4x4 or smaller
-(and in fact has a bit of redundnacy). For larger tables, we lose any individual cell formatting
+(and in fact has a bit of redundancy). For larger tables, we lose any individual cell formatting
for the range [(3,rows - 1) -> (3, cols - 1)]. That formatting is replaced by formatting from
the saved cells:
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index 89f117b22794..541df563bcc8 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -418,7 +418,7 @@ class SW_DLLPUBLIC SwTOXBase : public SwClient
protected:
// Add a data member, for record the TOC field expression of MS Word binary format
- // For keeping fidality and may giving a better exporting performance
+ // For keeping fidelity and may giving a better exporting performance
OUString maMSTOCExpression;
bool mbKeepExpression;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index bd1a0b5457ea..7069de10e2cf 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -124,7 +124,7 @@ class SW_DLLPUBLIC SwViewShell : public sw::Ring<SwViewShell>
VclPtr<vcl::Window> mpWin; ///< = 0 during printing or pdf export
VclPtr<OutputDevice> mpOut; ///< Window, Printer, VirtDev, ...
- VclPtr<OutputDevice> mpTmpRef; // Temporariy reference device. Is used
+ VclPtr<OutputDevice> mpTmpRef; // Temporary reference device. Is used
// during (printer depending) prospect
// and page preview printing
// (because a scaling has to be set at
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index ce02b3e51cf3..b761116180d4 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -375,7 +375,7 @@ protected:
if (!mpXmlBuffer)
dumpLayout();
- return xmlParseMemory(reinterpret_cast<const char*>(xmlBufferContent(mpXmlBuffer)), xmlBufferLength(mpXmlBuffer));;
+ return xmlParseMemory(reinterpret_cast<const char*>(xmlBufferContent(mpXmlBuffer)), xmlBufferLength(mpXmlBuffer));
}
/**
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index 759ccf1327e6..059eabf9d9fa 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -702,7 +702,7 @@ DECLARE_OOXMLEXPORT_TEST(testCellGridSpan, "cell-grid-span.docx")
{
// The problem was during export gridSpan value for 1st & 2nd cells for test document
// used to get set wrongly to 5 and 65532 respectively which was the reason for crash during save operation
- // Varifying gridSpan element is not present in RoundTriped Document (As it's Default value is 1).
+ // Varifying gridSpan element is not present in RoundTripped Document (As it's Default value is 1).
xmlDocPtr pXmlDoc = parseExport();
if (!pXmlDoc)
return;
@@ -759,7 +759,7 @@ DECLARE_OOXMLEXPORT_TEST(testPNGImageCrop, "test_PNG_ImageCrop.docx")
#if !defined(MACOSX)
/* The problem was image cropping information was not getting saved
* after roundtrip.
- * Check for presenece of cropping parameters in exported file.
+ * Check for presence of cropping parameters in exported file.
*/
uno::Reference<drawing::XShape> image = getShape(1);
uno::Reference<beans::XPropertySet> imageProperties(image, uno::UNO_QUERY);
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
index 55474d751a2b..c01a4e3c4d64 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx
@@ -116,7 +116,7 @@ DECLARE_OOXMLEXPORT_TEST(testDMLSolidfillAlpha, "dml-solidfill-alpha.docx")
{
// Problem was that the transparency was not exported (a:alpha).
// RGB color (a:srgbClr)
- uno::Reference<beans::XPropertySet> xShape(getShape(1), uno::UNO_QUERY);;
+ uno::Reference<beans::XPropertySet> xShape(getShape(1), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(sal_Int16(70), getProperty<sal_Int16>(xShape, "FillTransparence"));
// Theme color (a:schemeClr)
diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
index 90daf422b8ab..09c0840fad08 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx
@@ -216,7 +216,7 @@ DECLARE_OOXMLEXPORT_TEST(testFDO77715,"FDO77715.docx")
DECLARE_OOXMLEXPORT_TEST(testTOCFlag_u,"testTOCFlag_u.docx")
{
- // DOCX contaning TOC should preserve code field '\u'.
+ // DOCX containing TOC should preserve code field '\u'.
xmlDocPtr pXmlDoc = parseExport("word/document.xml");
if (!pXmlDoc)
return;
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx
index ba78b9a3428d..5e1749fc12ec 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -1553,7 +1553,7 @@ DECLARE_RTFIMPORT_TEST(testFdo69384, "hello.rtf")
paste("fdo69384-paste.rtf", xEnd);
// Import got interrupted in the middle of style sheet table import,
- // resuling in missing styles and text.
+ // resulting in missing styles and text.
getStyles("ParagraphStyles")->getByName("Text body justified");
}
diff --git a/sw/qa/python/check_table.py b/sw/qa/python/check_table.py
index 1e361cfa5cd7..e92044f0e83c 100644
--- a/sw/qa/python/check_table.py
+++ b/sw/qa/python/check_table.py
@@ -506,7 +506,7 @@ class CheckTable(unittest.TestCase):
xDispatcher.executeDispatch(xDocFrame, '.uno:InsertText', '', 0,
(PropertyValue('Text', 0, '15-10-30', 0),))
xDispatcher.executeDispatch(xDocFrame, '.uno:JumpToNextCell', '', 0, ())
- # Without number recognition 15-10-30 should not be interperated as a date
+ # Without number recognition 15-10-30 should not be interpretated as a date
self.assertEquals(xTable.getCellByPosition(0,0).getString(), '15-10-30')
self.assertEquals(xTable.getCellByPosition(0,0).getValue(), 0)
# Activate number recognition
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index cbbffb3c157d..0994e644c5d7 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -1448,7 +1448,7 @@ interface BaseText
]
SID_ATTR_CHAR_LANGUAGE // status(final|play)
[
- ExecMethod = ExecTextCtrl;;
+ ExecMethod = ExecTextCtrl;
StateMethod = GetTextFontCtrlState;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
diff --git a/sw/source/core/SwNumberTree/SwNumberTree.cxx b/sw/source/core/SwNumberTree/SwNumberTree.cxx
index 459cf5425718..a6863fe3ff72 100644
--- a/sw/source/core/SwNumberTree/SwNumberTree.cxx
+++ b/sw/source/core/SwNumberTree/SwNumberTree.cxx
@@ -483,7 +483,7 @@ void SwNumberTreeNode::AddChild( SwNumberTreeNode * pChild,
mChildren.upper_bound(pChild);
OSL_ENSURE(! (aInsertDeepIt != mChildren.end() &&
- (*aInsertDeepIt)->IsPhantom()), " unexspected phantom");
+ (*aInsertDeepIt)->IsPhantom()), " unexpected phantom");
if (aInsertDeepIt == mChildren.begin())
{
diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx
index f82193b32177..274fd3a9d9a2 100644
--- a/sw/source/core/bastyp/init.cxx
+++ b/sw/source/core/bastyp/init.cxx
@@ -515,7 +515,7 @@ void _InitCore()
aAttrTab[ RES_CHRATR_HIGHLIGHT - POOLATTR_BEGIN ] = new SvxBrushItem( RES_CHRATR_HIGHLIGHT );
aAttrTab[ RES_CHRATR_GRABBAG - POOLATTR_BEGIN ] = new SfxGrabBagItem( RES_CHRATR_GRABBAG );
-// CharakterAttr - MSWord weak char direction/script override emulation
+// CharacterAttr - MSWord weak char direction/script override emulation
aAttrTab[ RES_CHRATR_BIDIRTL - POOLATTR_BEGIN ] = new SfxInt16Item( RES_CHRATR_BIDIRTL, sal_Int16(-1) );
aAttrTab[ RES_CHRATR_IDCTHINT - POOLATTR_BEGIN ] = new SfxInt16Item( RES_CHRATR_IDCTHINT, sal_Int16(-1) );
diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx
index c6216cd771ed..54d361e984e9 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -302,7 +302,7 @@ void SwCache::DeleteObj( SwCacheObj *pObj )
(nCurMax <= (m_aCacheObjects.size() - aFreePositions.size())) )
{
// Shrink if possible.To do so we need enough free positions.
- // Unpleasent side effect: positions will be moved and the owner of
+ // Unpleasant side effect: positions will be moved and the owner of
// these might not find them afterwards
for ( size_t i = 0; i < m_aCacheObjects.size(); ++i )
{
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index f9ce84c17371..7e57d314efed 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -850,7 +850,7 @@ SwField* SwCursorShell::GetCurField( const bool bIncludeInputFieldAtStart ) cons
return nullptr;
}
- SwField* pCurField = GetFieldAtCursor( pCursor, bIncludeInputFieldAtStart );;
+ SwField* pCurField = GetFieldAtCursor( pCursor, bIncludeInputFieldAtStart );
if ( pCurField != nullptr
&& RES_TABLEFLD == pCurField->GetTyp()->Which() )
{
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index abd3763b47e6..caa436bc2702 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -143,7 +143,7 @@ lcl_CleanStr(const SwTextNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd,
const bool bEmpty =
( pHt->Which() != RES_TXTATR_FIELD
&& pHt->Which() != RES_TXTATR_ANNOTATION )
- || (static_txtattr_cast<SwTextField const*>(pHt)->GetFormatField().GetField()->ExpandField(true).isEmpty());;
+ || (static_txtattr_cast<SwTextField const*>(pHt)->GetFormatField().GetField()->ExpandField(true).isEmpty());
if ( bEmpty && nStart == nAkt )
{
rArr.push_back( nAkt );
diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx
index e9988c7606db..9f7620878e02 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -1294,7 +1294,7 @@ bool DocumentRedlineManager::AppendRedline( SwRangeRedline* pNewRedl, bool bCall
{
// it may be necessary to split the existing redline in
// two. In this case, pRedl will be changed to cover
- // only part of it's former range, and pNew will cover
+ // only part of its former range, and pNew will cover
// the remainder.
SwRangeRedline* pNew = nullptr;
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 40e2e69fe231..f9137bc4b791 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -91,7 +91,7 @@ namespace
#define HTML_PARSPACE GetMetricVal( CM_05 )
static const sal_uInt16 aHeadlineSizes[ 2 * MAXLEVEL ] = {
- // we do everything procentual now:
+ // we do everything percentual now:
130, 115, 101, 95, 85,
85, 80, 80, 75, 75, // normal
PT_24, PT_18, PT_14, PT_12, PT_10,
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index c0b5d3656fee..4b8b9770d58c 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -211,7 +211,7 @@ void DelFlyInRange( const SwNodeIndex& rMkNdIdx,
}
else
{
- // If the Fly is deleted, all Flys in it's content have to be deleted too.
+ // If the Fly is deleted, all Flys in its content have to be deleted too.
const SwFormatContent &rContent = pFormat->GetContent();
if( rContent.GetContentIdx() )
{
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index e0c6b2bc86df..cd25942f9be4 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -344,7 +344,7 @@ _HashStr::_HashStr( const OUString& rName, const OUString& rText,
pNext = pNxt;
}
-/// Look up the Name, if it is present, return it's String, otherwise return an empty String
+/// Look up the Name, if it is present, return its String, otherwise return an empty String
OUString LookString( SwHash** ppTable, sal_uInt16 nSize, const OUString& rName,
sal_uInt16* pPos )
{
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 5c0f91413d0b..298b50882cff 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -1991,7 +1991,7 @@ namespace docfunc
{
bool HasOutlineStyleToBeWrittenAsNormalListStyle( SwDoc& rDoc )
{
- // If a parent paragraph style of one of the parargraph styles, which
+ // If a parent paragraph style of one of the paragraph styles, which
// are assigned to the list levels of the outline style, has a list style
// set or inherits a list style from its parent style, the outline style
// has to be written as a normal list style to the OpenDocument file
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index a9d6835d58f3..6c5dfdd0433e 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -677,7 +677,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTextFormatColls *const pTextFormatCollTable,
bTable = true;
// no break here
case LTYPE_FLY:
- // At the FlySection's Beginning/End insert the corresponding Node with it's Field.
+ // At the FlySection's Beginning/End insert the corresponding Node with its Field.
// The Frame is created automatically.
{
SwStartNode *pSttNd = rDoc.GetNodes()[nNdIdx]->GetStartNode();
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 3244fb725729..722ba67f5e7a 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -102,7 +102,7 @@ void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem )
rSet.Put( rItem, nWhCTL );
}
-/// Return the AutoCollection by it's Id. If it doesn't
+/// Return the AutoCollection by its Id. If it doesn't
/// exist yet, create it.
/// If the String pointer is defined, then only query for
/// the Attribute descriptions. It doesn't create a style!
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index 4a7cb666d23a..eca9a38f8170 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -1026,7 +1026,7 @@ bool SwTable::DeleteSel(
size_t const nIdx = rBoxes.size() - 1 - n;
// First adapt the data-sequence for chart if necessary
- // (needed to move the implementation cursor properly to it's new
+ // (needed to move the implementation cursor properly to its new
// position which can't be done properly if the cell is already gone)
if (pPCD && pTableNd)
pPCD->DeleteBox( &pTableNd->GetTable(), *rBoxes[nIdx] );
diff --git a/sw/source/core/docnode/finalthreadmanager.cxx b/sw/source/core/docnode/finalthreadmanager.cxx
index a5a8802c89cd..e99dc554c513 100644
--- a/sw/source/core/docnode/finalthreadmanager.cxx
+++ b/sw/source/core/docnode/finalthreadmanager.cxx
@@ -335,7 +335,7 @@ void SAL_CALL FinalThreadManager::cancelAllJobs() throw (css::uno::RuntimeExcept
if ( mpCancelJobsThread == nullptr )
{
- mpCancelJobsThread = new CancelJobsThread( aThreads );;
+ mpCancelJobsThread = new CancelJobsThread( aThreads );
if ( !mpCancelJobsThread->create() )
{
delete mpCancelJobsThread;
diff --git a/sw/source/core/docnode/ndcopy.cxx b/sw/source/core/docnode/ndcopy.cxx
index 61c64da53c9d..6953bf44054b 100644
--- a/sw/source/core/docnode/ndcopy.cxx
+++ b/sw/source/core/docnode/ndcopy.cxx
@@ -57,7 +57,7 @@ SwContentNode* SwTextNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) cons
// the Copy-Textnode is the Node with the Text, the Copy-Attrnode is the
// node with the collection and hard attributes. Normally is the same
// node, but if insert a glossary without formatting, then the Attrnode
- // is the prev node of the destionation position in dest. document.
+ // is the prev node of the destination position in dest. document.
SwTextNode* pCpyTextNd = const_cast<SwTextNode*>(this);
SwTextNode* pCpyAttrNd = pCpyTextNd;
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index e9d44141fbf5..419d0fb37e62 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -1022,7 +1022,7 @@ SwFrame *SwSectionNode::MakeFrame( SwFrame *pSib )
return new SwSectionFrame( *m_pSection, pSib );
}
-// Creates all Document Views for the precedeing Node.
+// Creates all Document Views for the preceding Node.
// The created ContentFrames are attached to the corresponding Layout
void SwSectionNode::MakeFrames(const SwNodeIndex & rIdx )
{
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index 613721391863..77863891d5f3 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -498,7 +498,7 @@ void SwSection::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
return;
case RES_COL:
- // Is handeled by the Layout, if appropriate
+ // Is handled by the Layout, if appropriate
break;
case RES_FTN_AT_TXTEND:
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index b8304cb75f42..bc7b4f8c54e9 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -2048,7 +2048,7 @@ namespace sdr
if(rCandidate.GetViewContact().GetObjectCount())
{
- // is a group object itself, call resursively
+ // is a group object itself, call recursively
impAddPrimitivesFromGroup(rCandidate, rOffsetMatrix, rDisplayInfo, rxTarget);
}
else
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 3db4de004081..c6c35cf71aa3 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -1353,7 +1353,7 @@ void SwAutoFormat::BuildEnum( sal_uInt16 nLvl, sal_uInt16 nDigitLevel )
bool bBreak = true;
// first, determine current indentation and frame width
- SwTwips nFrameWidth = m_pCurTextFrame->Prt().Width();;
+ SwTwips nFrameWidth = m_pCurTextFrame->Prt().Width();
SwTwips nLeftTextPos;
{
sal_Int32 nPos(0);
@@ -2244,7 +2244,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFormatFlags& rFlags,
( 0 != (nSz = pLRSpace->GetTextFirstLineOfst()) ||
0 != pLRSpace->GetTextLeft() ) )
{
- // exception: numbering/enumation can have an indentation
+ // exception: numbering/enumeration can have an indentation
if( IsEnumericChar( *m_pCurTextNd ))
{
nLevel = CalcLevel( *m_pCurTextNd, &nDigitLvl );
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index e55d8cd60971..20e373aaba00 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -697,7 +697,7 @@ long SwFEShell::EndDrag( const Point *, bool )
// #50778# Bug during dragging: In StartAction a HideShowXor is called.
// In EndDragObj() this is reversed, for no reason and even wrong.
- // To restore consistancy we should bring up the Xor again.
+ // To restore consistency we should bring up the Xor again.
// Reanimation from the hack #50778 to fix bug #97057
// May be not the best solution, but the one with lowest risc at the moment.
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index a03f227e55a6..ad4c056bfa90 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -1333,7 +1333,7 @@ size_t SwFEShell::GetCurTabColNum() const
{
long nX = (pFrame->Frame().*fnRect->fnGetRight)() - (pPage->Frame().*fnRect->fnGetLeft)();
- const long nRight = aTabCols.GetLeftMin() + aTabCols.GetRight();;
+ const long nRight = aTabCols.GetLeftMin() + aTabCols.GetRight();
if ( !::IsSame( nX, nRight ) )
{
diff --git a/sw/source/core/inc/rolbck.hxx b/sw/source/core/inc/rolbck.hxx
index 3d137e0c1471..14ccafe418c2 100644
--- a/sw/source/core/inc/rolbck.hxx
+++ b/sw/source/core/inc/rolbck.hxx
@@ -131,7 +131,7 @@ public:
class SwHistorySetTextField : public SwHistoryHint
{
- //!! beware of the order for the declation of the unique_ptrs.
+ //!! beware of the order for the declaration of the unique_ptrs.
//!! If they get destroyed in the wrong order sw may crash (namely mail-merge as well)
::std::unique_ptr<SwFieldType> m_pFieldType;
const ::std::unique_ptr<SwFormatField> m_pField;
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index 6d3c05cb0bf7..d6f467558c87 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -33,7 +33,7 @@ typedef std::list< sal_Int32 > PositionList;
#define SPACING_PRECISION_FACTOR 100
-// encapsultes information about script changes
+// encapsulates information about script changes
class SwScriptInfo
{
public:
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index 1df9c22ba665..60c2eed78c76 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -385,7 +385,7 @@ public:
/**
* Calculate the shadow space on the specified side dependent from
- * the orientation and connection with neightbours.
+ * the orientation and connection with neighbours.
* @see shaditem.hxx for integer constants of sides
*
* @param[in] nShadow specify the side
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index 94358bd3057e..aa4e4a5106da 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -1210,7 +1210,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/)
}
}
- // If a Follow sits next to it's Master and doesn't fit, we know it can
+ // If a Follow sits next to its Master and doesn't fit, we know it can
// be moved right now.
if ( lcl_Prev( this ) && static_cast<SwTextFrame*>(this)->IsFollow() && IsMoveable() )
{
@@ -1822,7 +1822,7 @@ bool SwContentFrame::_WouldFit( SwTwips nSpace,
bool bTstMove,
const bool bObjsInNewUpper )
{
- // To have the footnote select it's place carefully, it needs
+ // To have the footnote select its place carefully, it needs
// to be moved in any case if there is at least one page/column
// between the footnote and the new Upper.
SwFootnoteFrame* pFootnoteFrame = nullptr;
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx
index 38dd5a78c7ff..3c30c4c1560c 100644
--- a/sw/source/core/layout/findfrm.cxx
+++ b/sw/source/core/layout/findfrm.cxx
@@ -562,7 +562,7 @@ const SwPageFrame* SwRootFrame::GetPageAtPos( const Point& rPt, const Size* pSiz
pPage = pPage->GetNext();
}
- OSL_ENSURE( GetPageNum() <= maPageRects.size(), "number of pages differes from page rect array size" );
+ OSL_ENSURE( GetPageNum() <= maPageRects.size(), "number of pages differs from page rect array size" );
size_t nPageIdx = 0;
while ( pPage && !pRet )
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx
index 850fc4e303be..7b6693076274 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -1087,7 +1087,7 @@ bool SwFlowFrame::IsPrevObjMove() const
|* If bAct is set to true, this function returns true if
|* there's a PageBreak.
|* Of course, we don't evaluate the hard page break for follows.
-|* The page break is in it's own FrameFormat (BEFORE) or in the FrameFormat of the
+|* The page break is in its own FrameFormat (BEFORE) or in the FrameFormat of the
|* predecessor (AFTER). If there's no predecessor on the page, we don't
|* need to think further.
|* Also, a page break (or the need for one) is also present if
@@ -1146,7 +1146,7 @@ bool SwFlowFrame::IsPageBreak( bool bAct ) const
|* If bAct is set to true, we return true if there's a ColBreak.
|* Of course, we don't evaluate the hard column break for follows.
|*
-|* The column break is in it's own FrameFormat (BEFORE) or in the FrameFormat of the
+|* The column break is in its own FrameFormat (BEFORE) or in the FrameFormat of the
|* predecessor (AFTER). If there's no predecessor in the column, we don't
|* need to think further.
|* The implementation works only on ContentFrames! - the definition
@@ -1561,7 +1561,7 @@ SwTwips SwFlowFrame::_GetUpperSpaceAmountConsideredForPageGrid(
return nUpperSpaceAmountConsideredForPageGrid;
}
-/** method to determent the upper space amount, which is considered for
+/** method to determine the upper space amount, which is considered for
the previous frame
OD 2004-03-11 #i11860#
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 57c7d1d036be..5a08f6dbde82 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -159,7 +159,7 @@ SwFlyFrame::SwFlyFrame( SwFlyFrameFormat *pFormat, SwFrame* pSib, SwFrame *pAnch
void SwFlyFrame::Chain( SwFrame* _pAnch )
{
- // Connect to chain neighboors.
+ // Connect to chain neighbours.
// No problem, if a neighboor doesn't exist - the construction of the
// neighboor will make the connection
const SwFormatChain& rChain = GetFormat()->GetChain();
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index 9088d5601b08..ddee9c7bac43 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -399,7 +399,7 @@ void SwFlyFreeFrame::CheckClip( const SwFormatFrameSize &rSz )
// the environment of the ole object does not have to be valid
// at this moment, or even worse, it does not have to have a
// reasonable size. In this case we do not want to change to
- // attributes permanentely. Maybe one day somebody dares to remove
+ // attributes permanently. Maybe one day somebody dares to remove
// this code.
if ( aFrameRect.HasArea() &&
static_cast<SwContentFrame*>(Lower())->GetNode()->GetOLENode() &&
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index 844b65241e59..6f8d05c390ac 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1231,7 +1231,7 @@ void _InsertCnt( SwLayoutFrame *pLay, SwDoc *pDoc,
//In the generation of the Layout bPages=true will be handed over.
//Then will be new pages generated all x paragraphs already times in advance.
- //On breaks and/or pagedescriptorchanges the correspondig will be generated
+ //On breaks and/or pagedescriptorchanges the corresponding will be generated
//immediately.
//The advantage is, that on one hand already a nearly realistic number of
//pages are created, but above all there are no almost endless long chain
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 38f0f71384a6..62a64a4eea2f 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -205,7 +205,7 @@ inline bool SwLayAction::_PaintContent( const SwContentFrame *pContent,
}
/**
- * Depending of the type, the Content is output according to it's changes, or the area
+ * Depending of the type, the Content is output according to its changes, or the area
* to be outputted is registered with the region, respectively.
*/
void SwLayAction::PaintContent( const SwContentFrame *pCnt,
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
index 15d406983491..37984804ca18 100644
--- a/sw/source/core/layout/newfrm.cxx
+++ b/sw/source/core/layout/newfrm.cxx
@@ -559,7 +559,7 @@ void SwRootFrame::DestroyImpl()
// Object ownership in writer and esp. in layout are a mess: Before the
// document/layout split SwDoc and SwRootFrame were essentially one object
// and magically/uncleanly worked around their common destruction by call
- // to SwDoc::IsInDtor() -- even from the layout. As of now destuction of
+ // to SwDoc::IsInDtor() -- even from the layout. As of now destruction of
// the layout proceeds forward through the frames. Since SwTextFootnote::DelFrames
// also searches backwards to find the master of footnotes, they must be
// considered to be owned by the SwRootFrame and also be destroyed here,
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index b20fadb93cbd..0465936332ec 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -597,7 +597,7 @@ const SwRect SwFrame::PaintArea() const
bLeft = false;
bRight = false;
}
- else if( pTmp->IsColumnFrame() ) // nobody enters neightbour columns
+ else if( pTmp->IsColumnFrame() ) // nobody enters neighbour columns
{
bool bR2L = pTmp->IsRightToLeft();
// the first column has _no_ influence to the left range
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 236ac881d9d7..a45a1f4059d0 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -3297,7 +3297,7 @@ bool SwTabFrame::ShouldBwdMoved( SwLayoutFrame *pNewUpper, bool, bool &rReformat
// the tabfrm may not have a correct position. Therefore
// it is possible that pNewUpper->Prt().Height == 0. In this
// case the above calculation of nSpace might give wrong
- // results and we really do not want to MoveBackwrd into a
+ // results and we really do not want to MoveBackward into a
// 0 height frame. If nTmpSpace is already <= 0, we take this
// value:
const SwTwips nTmpSpace = (aRect.*fnRectX->fnGetHeight)();
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index c955254f9116..c8f4911924a5 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -267,7 +267,7 @@ bool SwPageFrame::GetCursorOfst( SwPosition *pPos, Point &rPoint,
else
{
/* In order to provide a selection as accurable as possible when we have both
- * text and brackground object, then we compute the distance between both
+ * text and background object, then we compute the distance between both
* would-be positions and the click point. The shortest distance wins.
*/
double nTextDistance = 0;
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 032177a40d31..c3bc3479663d 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -582,7 +582,7 @@ void SwFrame::InsertBehind( SwLayoutFrame *pParent, SwFrame *pBefore )
}
}
-/** Insert a chain of SwFrames into an existing struction
+/** Insert a chain of SwFrames into an existing structure
*
* Currently, this method is used to insert a SectionFrame (which may have some siblings) into an
* existing structure. If the third parameter is NULL, this method is (besides handling the
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 608e79248f95..b9049d7f9cbd 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -487,7 +487,7 @@ bool SwOLENode::IsInGlobalDocSection() const
}
// pAnchorNd contains the most recently found Section Node, which
- // now must fulfill the prerequesites for the GlobalDoc
+ // now must fulfill the prerequisites for the GlobalDoc
pSectNd = static_cast<const SwSectionNode*>(pAnchorNd);
return FILE_LINK_SECTION == pSectNd->GetSection().GetType() &&
pSectNd->GetIndex() > nEndExtraIdx;
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx
index 83a6a82cb9ca..1103e651f73b 100644
--- a/sw/source/core/table/swnewtable.cxx
+++ b/sw/source/core/table/swnewtable.cxx
@@ -1145,7 +1145,7 @@ static void lcl_FillSelBoxes( SwSelBoxes &rBoxes, SwTableLine &rLine )
rBoxes.insert( rLine.GetTabBoxes()[i] );
}
-/** SwTable::InsertSpannedRow(..) inserts "superfluous" rows, i.e. rows containig
+/** SwTable::InsertSpannedRow(..) inserts "superfluous" rows, i.e. rows containing
overlapped cells only. This is a preparation for an upcoming split.
*/
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index 939fe331b2c9..f401fcbb489b 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -513,7 +513,7 @@ bool SwTextGuess::Guess( const SwTextPortion& rPor, SwTextFormatInfo &rInf,
return false;
}
-// returns true if word at position nPos has a diffenrent spelling
+// returns true if word at position nPos has a different spelling
// if hyphenated at this position (old german spelling)
bool SwTextGuess::AlternativeSpelling( const SwTextFormatInfo &rInf,
const sal_Int32 nPos )
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index e1f36662845b..2ffce5e372e1 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -689,7 +689,7 @@ public:
* For the text replacement and restoration of SwTextSizeInfo.
* The way this is done is a bit of a hack: Although rInf is const we change it
* anyway.
- * Because rInf is restorated again in the DTOR, we can do this.
+ * Because rInf is restored again in the DTOR, we can do this.
* You could call it a "logical const", if you wish.
*/
class SwTextSlot
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index 03f80de1164c..5a413efa353f 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -706,7 +706,7 @@ void SwTextNode::GetMinMaxSize( sal_uLong nIndex, sal_uLong& rMin, sal_uLong &rM
if( RES_FLYFRMFMT == pFrameFormat->Which()
&& rTmpSize.GetWidthPercent() )
{
- // This is a hack for the wollowing situation: In the paragraph there's a
+ // This is a hack for the following situation: In the paragraph there's a
// text frame with relative size. Then let's take 0.5 cm as minimum width
// and USHRT_MAX as maximum width
// It were cleaner and maybe necessary later on to iterate over the content
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index 79f2e1e79c9e..b1ddd9397925 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -655,7 +655,7 @@ void SwTextCursor::_GetCharRect( SwRect* pOrig, const sal_Int32 nOfst,
{
pLastBidiPor = static_cast<SwBidiPortion*>(pPor);
nLastBidiPorWidth = pLastBidiPor->Width() +
- pLastBidiPor->CalcSpacing( nSpaceAdd, aInf );;
+ pLastBidiPor->CalcSpacing( nSpaceAdd, aInf );
}
}
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index f23245979ba0..9e6df3550d4d 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -1345,7 +1345,7 @@ SwLinePortion *SwTextFormatter::NewPortion( SwTextFormatInfo &rInf )
// #127428# Abandon dec. tab position if line is full
// We have a decimal tab portion in the line and the next character has to be
// aligned at the tab stop position. We store the width from the beginning of
- // the tab stop portion up to the portion containint the decimal separator:
+ // the tab stop portion up to the portion containing the decimal separator:
if ( GetTextFrame()->GetTextNode()->getIDocumentSettingAccess()->get(DocumentSettingId::TAB_COMPAT) /*rInf.GetVsh()->IsTabCompat();*/ &&
POR_TABDECIMAL == pLastTabPortion->GetWhichPor() )
{
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index d28a18be387c..f72820b50544 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -409,7 +409,7 @@ bool SwFieldPortion::Format( SwTextFormatInfo &rInf )
SetHasFollow( true );
// For a newly created field, nNextOffset contains the Offset
- // of it's start of the original string
+ // of its start of the original string
// If a FollowField is created when formatting, this FollowField's
// Offset is being held in nNextOffset
nNextOffset = nNextOffset + nNextOfst;
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index e29d93f485a7..06a30aa41b31 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -118,7 +118,7 @@ static bool lcl_HasStrongLTR ( const OUString& rText, sal_Int32 nStart, sal_Int
}
// class SwLineLayout: This is the layout of a single line, which is made
-// up of it's dimension, the character count and the word spacing in the line.
+// up of its dimension, the character count and the word spacing in the line.
// Line objects are managed in an own pool, in order to store them continuously
// in memory so that they are paged out together and don't fragment memory.
SwLineLayout::~SwLineLayout()
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 53219bf4ca28..f720384413d5 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -256,7 +256,7 @@ SwDoubleLinePortion::SwDoubleLinePortion(SwDoubleLinePortion& rDouble, sal_Int32
// This constructor uses the textattribute to get the right brackets.
// The textattribute could be a 2-line-attribute or a character- or
-// internetstyle, which contains the 2-line-attribute.
+// internet style, which contains the 2-line-attribute.
SwDoubleLinePortion::SwDoubleLinePortion(const SwMultiCreator& rCreate, sal_Int32 nEnd)
: SwMultiPortion(nEnd)
, pBracket(new SwBracket())
@@ -1599,7 +1599,7 @@ static bool lcl_ExtractFieldFollow( SwLineLayout* pLine, SwLinePortion* &rpField
}
// If a multi portion completely has to go to the
-// next line, this function is called to trunctate
+// next line, this function is called to truncate
// the rest of the remaining multi portion
static void lcl_TruncateMultiPortion( SwMultiPortion& rMulti, SwTextFormatInfo& rInf,
sal_Int32 nStartIdx )
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index c9169818a3c5..8082dd29e45e 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -1208,7 +1208,7 @@ sal_Int32 SwTextFormatter::FormatQuoVadis( const sal_Int32 nOffset )
/**
* This function creates a Line that reaches to the other Page Margin.
- * DummyLines or DummyPortions make sure, that osicllations stop, because
+ * DummyLines or DummyPortions make sure, that oscillations stop, because
* there's no way to flow back.
* They are used for Footnotes in paragraph-bound Frames and for Footnote
* oscillations
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 1b5ebbde0ade..0fe25b3f53c2 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -553,7 +553,7 @@ void SwFntObj::GuessLeading( const SwViewShell&
}
else
{
- // If all else fails, take 15% of the height, as emprically
+ // If all else fails, take 15% of the height, as empirically
// determined by CL
nGuessedLeading = (nWinHeight * 15) / 100;
}
diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx
index 5e4baaa09a36..3d355a0b2b3c 100644
--- a/sw/source/core/txtnode/ndhints.cxx
+++ b/sw/source/core/txtnode/ndhints.cxx
@@ -252,7 +252,7 @@ bool SwpHints::Check(bool bPortionsMerged) const
->GetSortNumber() !=
static_txtattr_cast<const SwTextCharFormat *>(pHtLast)
->GetSortNumber())
- ) // multiple CHARFMT on same range need distinct sortnr
+ ) // multiple CHARFMT on same range need distinct sortner
)
|| (pHtThis->GetStart() == *pHtThis->End()), // this empty
"HintsCheck: Portion inconsistency. "
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 989e7d94bc54..06b524eb7e1c 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -391,7 +391,7 @@ sal_uInt16 MapDirection( sal_uInt16 nDir, const bool bVertFormat )
return nDir;
}
-// maps the absolute direction set at the font to its logical conterpart
+// maps the absolute direction set at the font to its logical counterpart
// in the rotated environment
sal_uInt16 UnMapDirection( sal_uInt16 nDir, const bool bVertFormat )
{
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 45372893af17..5a251dd334d1 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1624,7 +1624,7 @@ void SwChartDataProvider::DisposeAllDataSequences( const SwTable *pTable )
* SwChartDataProvider::AddRowCols tries to notify charts of added columns
* or rows and extends the value sequence respectively (if possible).
* If those can be added to the end of existing value data-sequences those
- * sequences get mofdified accordingly and will send a modification
+ * sequences get modified accordingly and will send a modification
* notification (calling 'setModified
*
* Since this function is a work-around for non existent Writer core functionality
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 0b253ed59152..36d69e20a3f6 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1206,7 +1206,7 @@ SwXFrame::SwXFrame(FlyCntType eSet, const ::SfxItemPropertySet* pSet, SwDoc *pDo
// get the property set for the default style data
// First get the model
uno::Reference < XModel > xModel = pDoc->GetDocShell()->GetBaseModel();
- // Ask the model for it's family supplier interface
+ // Ask the model for its family supplier interface
uno::Reference < XStyleFamiliesSupplier > xFamilySupplier ( xModel, uno::UNO_QUERY );
// Get the style families
uno::Reference < XNameAccess > xFamilies = xFamilySupplier->getStyleFamilies();
@@ -3563,7 +3563,7 @@ void SAL_CALL SwXTextEmbeddedObject::release()throw()
::uno::Any SAL_CALL SwXTextEmbeddedObject::queryInterface( const uno::Type& aType )
throw( uno::RuntimeException, std::exception)
{
- ::uno::Any aRet = SwXFrame::queryInterface(aType);;
+ ::uno::Any aRet = SwXFrame::queryInterface(aType);
if(aRet.getValueType() == cppu::UnoType<void>::get())
aRet = SwXTextEmbeddedObjectBaseClass::queryInterface(aType);
return aRet;
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx
index 8cf08e4f741b..f8d31c57cbb7 100644
--- a/sw/source/core/unocore/unoparagraph.cxx
+++ b/sw/source/core/unocore/unoparagraph.cxx
@@ -821,7 +821,7 @@ throw (uno::RuntimeException, std::exception)
SwPosition aPos( rTextNode );
SwPaM aPam( aPos );
// handle properties that are not part of the attribute
- // and thus only pretendend to be paragraph attributes
+ // and thus only pretended to be paragraph attributes
beans::PropertyState eTemp;
const bool bDone =
SwUnoCursorHelper::getCursorPropertyValue(
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 48c3c9c68809..7227aed09d34 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -3581,7 +3581,7 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl(
// TextLeft returns the left content if there is one,
// Text and TextRight return the master content.
// TextRight does the same as Text and is for
- // comptability only.
+ // compatability only.
if( bLeft && !bShare )
{
pFrameFormat = &pDesc->GetLeft();
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 05519c54f4a6..10df5f5c3873 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -579,7 +579,7 @@ void SwPagePreviewLayout::_CalcPreviewPages()
sal_uInt16 nCurrCol = mnPaintStartCol;
sal_uInt16 nConsideredRows = 0;
Point aCurrPaintOffset = aInitialPaintOffset;
- // loop on pages to determine preview background retangles
+ // loop on pages to determine preview background rectangles
while ( pPage &&
(!mbDoesLayoutRowsFitIntoWindow || nConsideredRows < mnRows) &&
aCurrPaintOffset.Y() < maWinSize.Height()
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 202020f083f0..e37125aa0ad3 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -223,7 +223,7 @@ void SwHTMLWriter::OutCSS1_Property( const sal_Char *pProp,
sOut.append("<" OOO_STRING_SVTOOLS_HTML_style " "
OOO_STRING_SVTOOLS_HTML_O_type "=\"text/css\">");
// Optional CSS2 code for dot leaders (dotted line between the Table of Contents titles and page numbers):
- // (More inforation: http://www.w3.org/Style/Examples/007/leaders.en.html)
+ // (More information: http://www.w3.org/Style/Examples/007/leaders.en.html)
//
// p.leaders {
// /* FIXME:
@@ -2723,7 +2723,7 @@ static Writer& OutCSS1_SvxFontWeight( Writer& rWrt, const SfxPoolItem& rHt )
break;
case WEIGHT_ULTRABOLD: pStr = sCSS1_PV_extra_bold; break;
default:
- pStr = sCSS1_PV_normal;;
+ pStr = sCSS1_PV_normal;
}
if( pStr )
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 0559b5f81a40..02dfb42cd009 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -428,7 +428,7 @@ class HTMLTable
bool bHasToFly;
bool bFixedCols;
bool bColSpec; // where there COL(GROUP)-elements?
- bool bPrcWidth; // width is declarated in %
+ bool bPrcWidth; // width is declared in %
SwHTMLParser *pParser; // the current parser
HTMLTable *pTopTable; // the table on the Top-Level
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 6b168eceb677..e208f06daf6c 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -3060,7 +3060,7 @@ bool SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr,
nEndCnt != pAttr->GetSttCnt() )
{
bInsert = true;
- // We do some optimization for script depenedent attributes here.
+ // We do some optimization for script dependent attributes here.
if( *pEndIdx == pAttr->GetSttPara() )
{
bool bFont = false;
diff --git a/sw/source/filter/inc/wwstyles.hxx b/sw/source/filter/inc/wwstyles.hxx
index efb11063fc02..c091ec2e7025 100644
--- a/sw/source/filter/inc/wwstyles.hxx
+++ b/sw/source/filter/inc/wwstyles.hxx
@@ -154,7 +154,7 @@ namespace ww
/** Find the WinWord english name from a sti index
- Map the word style index to it's english name
+ Map the word style index to its english name
@param
sti the Style index
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 4c5851e373e2..7958bf7eb315 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -971,7 +971,7 @@ void DocxAttributeOutput::EndParagraphProperties(const SfxItemSet& rParagraphMar
// Call the 'Redline' function. This will add redline (change-tracking) information that regards to paragraph properties.
// This includes changes like 'Bold', 'Underline', 'Strikethrough' etc.
- // If there is RedlineData present, call WriteCollectedParagraphProperties() for writting pPr before calling Redline().
+ // If there is RedlineData present, call WriteCollectedParagraphProperties() for writing pPr before calling Redline().
// As there will be another pPr for redline and LO might mix both.
if(pRedlineData)
WriteCollectedParagraphProperties();
@@ -5619,7 +5619,7 @@ static OString impl_NumberingType( sal_uInt16 nNumberingType )
return aType;
}
-// Convertig Level Numbering Format Code to string
+// Converting Level Numbering Format Code to string
static OString impl_LevelNFC( sal_uInt16 nNumberingType , const SfxItemSet *pOutSet)
{
OString aType;
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index f3c0409729ae..8a3b3948c063 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -183,8 +183,8 @@ void RtfAttributeOutput::RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript)
You would have thought that
m_rExport.Strm() << (bIsRTL ? OOO_STRING_SVTOOLS_RTF_RTLCH : OOO_STRING_SVTOOLS_RTF_LTRCH); would be sufficient here ,
but looks like word needs to see the other directional token to be
- satisified that all is kosher, otherwise it seems in ver 2003 to go and
- semi-randomlyly stick strike through about the place. Perhaps
+ satisfied that all is kosher, otherwise it seems in ver 2003 to go and
+ semi-randomly stick strike through about the place. Perhaps
strikethrough is some ms developers "something is wrong signal" debugging
code that we're triggering ?
*/
@@ -776,7 +776,7 @@ void RtfAttributeOutput::TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer
OOO_STRING_SVTOOLS_RTF_CLBRDRT, OOO_STRING_SVTOOLS_RTF_CLBRDRL, OOO_STRING_SVTOOLS_RTF_CLBRDRB, OOO_STRING_SVTOOLS_RTF_CLBRDRR
};
//Yes left and top are swapped with eachother for cell padding! Because
- //that's what the thunderingly annoying rtf export/import word xp does.
+ //that's what the thundering annoying rtf export/import word xp does.
static const char* aCellPadNames[] =
{
OOO_STRING_SVTOOLS_RTF_CLPADL, OOO_STRING_SVTOOLS_RTF_CLPADT, OOO_STRING_SVTOOLS_RTF_CLPADB, OOO_STRING_SVTOOLS_RTF_CLPADR
diff --git a/sw/source/filter/ww8/rtfstringbuffer.hxx b/sw/source/filter/ww8/rtfstringbuffer.hxx
index f917347d8872..dd9300657f5f 100644
--- a/sw/source/filter/ww8/rtfstringbuffer.hxx
+++ b/sw/source/filter/ww8/rtfstringbuffer.hxx
@@ -44,7 +44,7 @@ public:
sal_Int32 getLength() const;
/// Writes the contents of the buffer directly to the supplied stream.
void makeStringAndClear(RtfAttributeOutput* pAttributeOutput);
- /// Returns the bufferent strings as a string (ignores graphic elements!)
+ /// Returns the buffered strings as a string (ignores graphic elements!)
OString makeStringAndClear();
/// Access to the last buffer.
OStringBuffer& getLastBuffer();
diff --git a/sw/source/filter/ww8/writerhelper.hxx b/sw/source/filter/ww8/writerhelper.hxx
index 6c60d7760492..5be0823fed39 100644
--- a/sw/source/filter/ww8/writerhelper.hxx
+++ b/sw/source/filter/ww8/writerhelper.hxx
@@ -77,7 +77,7 @@ namespace ww8
In word all frames are effectively anchored to character or as
character. This is nice and simple, writer is massively complex in this
area, so this ww8::Frame simplifies matters by providing a single unified
- view of the multitute of elements in writer and their differing quirks.
+ view of the multitude of elements in writer and their differing quirks.
A ww8::Frame wraps a writer frame and is guaranteed to have a suitable
anchor position available from it. It hides much of the needless
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx
index d42389f93633..aeeced99907d 100644
--- a/sw/source/filter/ww8/writerwordglue.cxx
+++ b/sw/source/filter/ww8/writerwordglue.cxx
@@ -105,7 +105,7 @@ namespace myImplHelpers
/*
SwTextFormatColl and SwCharFormat are quite distinct types and how they are
- gotten is also distinct, but the algorithm to match word's eqivalents into
+ gotten is also distinct, but the algorithm to match word's equivalents into
them is the same, so we put the different stuff into two separate helper
implementations and a core template that uses the helpers that uses the
same algorithm to do the work. We'll make the helpers specializations of a
@@ -500,7 +500,7 @@ namespace sw
All we want to do is ensure for now is that if a charfmt exist
in the character properties that it rises to the top and is
exported first. In the future we might find more ordering
- depandancies for export, in which case this is the place to do
+ dependencies for export, in which case this is the place to do
it
*/
if (nA == nB)
diff --git a/sw/source/filter/ww8/writerwordglue.hxx b/sw/source/filter/ww8/writerwordglue.hxx
index 4e09a0a2bfc2..0e8ec8558822 100644
--- a/sw/source/filter/ww8/writerwordglue.hxx
+++ b/sw/source/filter/ww8/writerwordglue.hxx
@@ -94,7 +94,7 @@ namespace sw
else is the same.
So this function compares two writer page fmts and sees if the
- follow frame and the title frame are the same from word persecptive
+ follow frame and the title frame are the same from word perspective
except for the content of their headers.
@return true if the rTitleFormat followed by rFollowFormat could be
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index e0958e332da2..c3d46f15e441 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2164,7 +2164,7 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode )
AppendAnnotationMarks( rNode, nAktPos, nNextAttr - nAktPos );
// At the moment smarttags are only written for paragraphs, at the
- // begining of the paragraph.
+ // beginning of the paragraph.
if (nAktPos == 0)
AppendSmartTags(rNode);
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index f32281d3f584..e2ef06c19573 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -580,7 +580,7 @@ public:
/// Iterate through the nodes and call the appropriate OutputNode() on them.
void WriteText();
- /// Return whether cuurently exported node is in table.
+ /// Return whether currently exported node is in table.
bool IsInTable() const;
/// Set the pCurPam appropriately and call WriteText().
diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx
index 194e2105d511..23599896699e 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -336,7 +336,7 @@ void SwWW8ImplReader::ReplaceObj(const SdrObject &rReplaceObj,
rSubObj.SetLayer(rReplaceObj.GetLayer());
// remove old object from group-list and add new one
- // (this also exchanges it in the drwaing page)
+ // (this also exchanges it in the drawing page)
pObjectList->ReplaceObject(&rSubObj, rReplaceObj.GetOrdNum());
}
else
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 04203c352cd3..2dae4927f2c4 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -752,7 +752,7 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
);
}
- // Distance of Textbox to it's surrounding Autoshape
+ // Distance of Textbox to its surrounding Autoshape
sal_Int32 nTextLeft = GetPropertyValue( DFF_Prop_dxTextLeft, 91440L);
sal_Int32 nTextRight = GetPropertyValue( DFF_Prop_dxTextRight, 91440L );
sal_Int32 nTextTop = GetPropertyValue( DFF_Prop_dyTextTop, 45720L );
@@ -6293,7 +6293,7 @@ bool SwMSDffManager::GetOLEStorageName(long nOLEId, OUString& rStorageName,
if (rReader.m_pStg)
{
// Via the TextBox-PLCF we get the right char Start-End positions
- // We should then find the EmbedField and the corresponding Sprms
+ // We should then find the EmbeddedField and the corresponding Sprms
// in that Area.
// We only need the Sprm for the Picture Id.
long nOldPos = rReader.m_pStrm->Tell();
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 65632bd9d90b..425b32388d82 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -1131,7 +1131,7 @@ private:
as they are encountered, and so their end point is normally unimportant.
But hyperlink fields need to be applied as attributes to text and it is
far easier and safer to set the end point of an attribute when we
- encounter the end marker of the field instead of caculating in advance
+ encounter the end marker of the field instead of calculating in advance
where the end point will fall, to do so fully correctly duplicates the
main logic of the filter itself.
*/
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 3501d63d1911..27b82a46c63d 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2143,7 +2143,7 @@ void WW8TabDesc::CalcDefaults()
// 2. pass: Detect number of writer columns. This can exceed the count
// of columns in WW by 2, because SW in constrast to WW does not provide
// fringed left and right borders and has to fill with empty boxes.
- // Non exisitent cells can reduce the number of columns.
+ // Non existent cells can reduce the number of columns.
// 3. pass: Replace border with defaults if needed
nConvertedLeft = nMinLeft;
@@ -2884,7 +2884,7 @@ bool WW8TabDesc::SetPamInCell(short nWwCol, bool bPam)
pIo->SetLowerSpacing(*pIo->m_pPaM, 0);
//We need to set the pPaM on the first cell, invalid
- //or not so that we can collect paragraph proproties over
+ //or not so that we can collect paragraph properties over
//all the cells, but in that case on the valid cell we do not
//want to reset the fmt properties
sal_uLong nSttNd = pTabBox->GetSttIdx() + 1,
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index d04418b3b0d6..b8457e713cc7 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2495,7 +2495,7 @@ eF_ResT SwWW8ImplReader::Read_F_DBNum( WW8FieldDesc*, OUString& )
/*
EQ , only the usage for
a. Combined Characters supported, must be exactly in the form that word
- only accepts as combined charactersm, i.e.
+ only accepts as combined characters, i.e.
eq \o(\s\up Y(XXX),\s\do Y(XXX))
b. Ruby Text supported, must be in the form that word recognizes as being
ruby text
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 2a9da61281e7..092f5650f3eb 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2522,7 +2522,7 @@ void SwWW8ImplReader::StopApo()
{
//If the last anchor pos is here, then clear the anchor pos.
//This "last anchor pos" is only used for fixing up the
- //postions of things anchored to page breaks and here
+ //positions of things anchored to page breaks and here
//we are removing the last paragraph of a frame, so there
//cannot be a page break at this point so we can
//safely reset m_pLastAnchorPos to avoid any dangling
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 3dda138a172b..66c18b14fecc 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -1839,7 +1839,7 @@ static bool WW8GetFieldPara(WW8PLCFspecial& rPLCF, WW8FieldDesc& rF)
}
rF.nLen = rF.nLRes - rF.nSCode + 2; // nLRes is still the final position
rF.nLRes -= rF.nSRes; // now: nLRes = length
- rF.nSRes++; // Endpos encluding Markers
+ rF.nSRes++; // Endpos including Markers
rF.nLRes--;
}else{
rF.nLRes = 0; // no result found
@@ -6856,7 +6856,7 @@ WW8Fonts::WW8Fonts( SvStream& rSt, WW8Fib& rFib )
nMax = nCalcMax;
else
{
- //newer versions include purportive count of fonts, so take min of that
+ //newer versions include supportive count of fonts, so take min of that
//and calced max
nMax = std::min(nMax, nCalcMax);
}
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index 2a2eaab5fd2e..e1180b3c6a64 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -684,7 +684,7 @@ SwTBC::ImportToolBarControl( SwCTBWrapper& rWrapper, const css::uno::Reference<
SAL_INFO("sw.ww8","cmt is cmtAllocated [???] 0x" << std::hex << arg2);
break;
case 7:
- SAL_INFO("sw.ww8","cmt is cmNill no-phing 0x" << std::hex << arg2);
+ SAL_INFO("sw.ww8","cmt is cmNill no-thing 0x" << std::hex << arg2);
break;
default:
SAL_INFO("sw.ww8","illegal 0x" << std::hex << cmt);
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
index af85125689db..7333d3f36a5d 100644
--- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx
+++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
@@ -424,7 +424,7 @@ void XMLRedlineImportHelper::Add(
{
// 3b) we already have a redline with this name: hierarchical redlines
// insert pInfo as last element in the chain.
- // (hierarchy sanity checking happens on insertino into the document)
+ // (hierarchy sanity checking happens on inserting into the document)
// find last element
RedlineInfo* pInfoChain;
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index cae28ea0f8fd..7c9b2412a65b 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -918,7 +918,7 @@ sal_uLong XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, c
// ... restore redline mode
// (First set bogus mode to make sure the mode in getIDocumentRedlineAccess().SetRedlineMode()
- // is different from it's previous mode.)
+ // is different from its previous mode.)
rDoc.getIDocumentRedlineAccess().SetRedlineMode_intern((RedlineMode_t)( ~nRedlineMode ));
rDoc.getIDocumentRedlineAccess().SetRedlineMode( (RedlineMode_t)( nRedlineMode ));
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 9a34e8f00b28..f74e3f2fb441 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -860,7 +860,7 @@ void SwXMLImport::endDocument()
GetTextImport()->ResetCursor();
- m_pSttNdIdx.reset();;
+ m_pSttNdIdx.reset();
// SJ: #i49801# -> now permitting repaints
if ( pDoc )
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index a5ec78a33e5f..eda3db88f092 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2259,7 +2259,7 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper,
}
else
{
- // No subtabels: We use the new table model.
+ // No subtables: we use the new table model.
SwXMLTableCell_Impl *pCell = GetCell(nTopRow,nCol);
// #i95726# - some fault tolerance
@@ -2332,7 +2332,7 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper,
// column, and the remaining fragment could be divided
// into lines. Anyway, it could be that this applies to
// the next column, too. That for, we check the next
- // column but rememeber the current one as a good place to
+ // column but remember the current one as a good place to
// split.
nSplitCol = nCol + 1UL;
}
diff --git a/sw/source/ui/chrdlg/break.cxx b/sw/source/ui/chrdlg/break.cxx
index 49e4b3433b00..4f53dff41419 100644
--- a/sw/source/ui/chrdlg/break.cxx
+++ b/sw/source/ui/chrdlg/break.cxx
@@ -144,7 +144,7 @@ SwBreakDlg::SwBreakDlg( vcl::Window *pParent, SwWrtShell &rS )
m_pColumnBtn->SetClickHdl( aLk );
m_pPageCollBox->SetSelectHdl( LINK(this,SwBreakDlg,SelectHdl) );
- get<OKButton>("ok")->SetClickHdl(LINK(this,SwBreakDlg,OkHdl));;
+ get<OKButton>("ok")->SetClickHdl(LINK(this,SwBreakDlg,OkHdl));
m_pPageNumBox->SetClickHdl(LINK(this,SwBreakDlg,PageNumHdl));
m_pPageNumEdit->SetModifyHdl(LINK(this,SwBreakDlg,PageNumModifyHdl));
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index 81e38b8aaf3d..7696748ff8e1 100644
--- a/sw/source/ui/fldui/fldvar.cxx
+++ b/sw/source/ui/fldui/fldvar.cxx
@@ -864,7 +864,7 @@ IMPL_LINK_NOARG_TYPED(SwFieldVarPage, ModifyHdl, Edit&, void)
case TYP_DDEFLD:
if( nLen )
{
- // is there already a corrensponding type
+ // is there already a corresponding type
bInsert = bApply = true;
SwFieldType* pType = GetFieldMgr().GetFieldType(RES_DDEFLD, sName);
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index 4a6f61d0a953..7107511a2fdb 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -384,7 +384,7 @@ IMPL_LINK_TYPED( SwGlossaryDlg, NameModify, Edit&, rEdit, void )
const bool bNotFound = !DoesBlockExist(aName, bNameED ? OUString() : rEdit.GetText());
if(bNameED)
{
- // did the text get in to the Listbbox in the Edit with a click?
+ // did the text get in to the Listbox in the Edit with a click?
if(bNotFound)
{
m_pShortNameEdit->SetText( lcl_GetValidShortCut( aName ) );
diff --git a/sw/source/ui/misc/titlepage.cxx b/sw/source/ui/misc/titlepage.cxx
index ce0f1adfd61e..08e3e30c0f0a 100644
--- a/sw/source/ui/misc/titlepage.cxx
+++ b/sw/source/ui/misc/titlepage.cxx
@@ -85,7 +85,7 @@ namespace
}
}
- // If we want a new descriptior then set it, otherwise reuse the existing one
+ // If we want a new descriptor then set it, otherwise reuse the existing one
if (!pNewDesc)
{
SwFormatPageDesc aPageFormatDesc(pPageFormatDesc ? *pPageFormatDesc : &rCurrentDesc);
diff --git a/sw/source/ui/vba/vbaheadersfooters.cxx b/sw/source/ui/vba/vbaheadersfooters.cxx
index b53e91630e28..9c27b04059e9 100644
--- a/sw/source/ui/vba/vbaheadersfooters.cxx
+++ b/sw/source/ui/vba/vbaheadersfooters.cxx
@@ -41,7 +41,7 @@ public:
// XIndexAccess
virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) override
{
- // first page, evenpages and primary page
+ // first page, even pages and primary page
return 3;
}
virtual uno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx
index cedea9b48b8c..74cb5591f81a 100644
--- a/sw/source/uibase/app/docstyle.cxx
+++ b/sw/source/uibase/app/docstyle.cxx
@@ -1077,7 +1077,7 @@ bool SwDocStyleSheet::SetParent( const OUString& rStr)
break;
case SFX_STYLE_FAMILY_PARA :
- OSL_ENSURE( pColl, "Collektion missing!");
+ OSL_ENSURE( pColl, "Collection missing!");
if( nullptr != ( pFormat = pColl ) && !rStr.isEmpty() )
pParent = lcl_FindParaFormat( rDoc, rStr );
break;
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx
index 2e40ba7c94fb..956b074517ca 100644
--- a/sw/source/uibase/config/modcfg.cxx
+++ b/sw/source/uibase/config/modcfg.cxx
@@ -1362,7 +1362,7 @@ void SwCompareConfig::Load()
switch(nProp)
{
- case 0 : eCmpMode = (SvxCompareMode) nVal; break;;
+ case 0 : eCmpMode = (SvxCompareMode) nVal; break;
case 1 : bUseRsid = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break;
case 2 : bIgnorePieces = *static_cast<sal_Bool const *>(pValues[nProp].getValue()); break;
case 3 : nPieceLen = nVal; break;
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index 1386ba25ef19..a4891b49626d 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -1035,7 +1035,7 @@ bool SwFieldMgr::InsertField(
pField = new SwDBField(pTyp);
pField->SetSubType(nSubType);
- if( !(nSubType & nsSwExtendedSubType::SUB_OWN_FMT) ) // determinee database format
+ if( !(nSubType & nsSwExtendedSubType::SUB_OWN_FMT) ) // determine database format
{
Reference< XDataSource> xSource;
rData.m_aDBDataSource >>= xSource;
diff --git a/sw/source/uibase/fldui/fldwrap.cxx b/sw/source/uibase/fldui/fldwrap.cxx
index 0501e0e602f3..5c35092b4cdb 100644
--- a/sw/source/uibase/fldui/fldwrap.cxx
+++ b/sw/source/uibase/fldui/fldwrap.cxx
@@ -111,7 +111,7 @@ SFX_IMPL_CHILDWINDOW(SwFieldDataOnlyDlgWrapper, FN_INSERT_FIELD_DATA_ONLY)
SfxChildWinInfo SwFieldDataOnlyDlgWrapper::GetInfo() const
{
SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();
-// prevent instatiation of dialog other than by calling
+// prevent instantiation of dialog other than by calling
// the mail merge dialog
aInfo.bVisible = false;
return aInfo;
diff --git a/sw/source/uibase/inc/fldmgr.hxx b/sw/source/uibase/inc/fldmgr.hxx
index 71ed0882e44c..9d9972da4300 100644
--- a/sw/source/uibase/inc/fldmgr.hxx
+++ b/sw/source/uibase/inc/fldmgr.hxx
@@ -190,7 +190,7 @@ public:
sal_uLong GetDefaultFormat(sal_uInt16 nTypeId, bool bIsText, SvNumberFormatter* pFormatter, double* pVal = nullptr);
// turn off evaluation of expression fields for insertation
- // of many expressino fields (see labels)
+ // of many expression fields (see labels)
inline void SetEvalExpFields(bool bEval);
void EvalExpFields(SwWrtShell* pSh = nullptr);
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx
index 1a0594d8abc3..03908be3d687 100644
--- a/sw/source/uibase/inc/frmpage.hxx
+++ b/sw/source/uibase/inc/frmpage.hxx
@@ -99,7 +99,7 @@ class SwFramePage: public SfxTabPage
bool m_bNew;
bool m_bNoModifyHdl;
bool m_bIsVerticalFrame; //current frame is in vertical environment - strings are exchanged
- // --> OD 2009-08-31 #mongolianlayou#
+ // --> OD 2009-08-31 #mongolianlayout#
bool m_bIsVerticalL2R;
bool m_bIsInRightToLeft; // current frame is in right-to-left environment - strings are exchanged
bool m_bHtmlMode;
diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx
index df7045b9aec5..cf198c0a4b15 100644
--- a/sw/source/uibase/inc/pview.hxx
+++ b/sw/source/uibase/inc/pview.hxx
@@ -163,7 +163,7 @@ class SW_DLLPUBLIC SwPagePreview: public SfxViewShell
// ViewWindow and handle to core
// current dispatcher shell
VclPtr<SwPagePreviewWin> pViewWin;
- //viewdata of the previous SwView and the new crsrposition
+ //viewdata of the previous SwView and the new cursor position
OUString sSwViewData;
//and the new cursor position if the user double click in the PagePreview
OUString sNewCursorPos;
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index d5fd8817bb34..40f0730d6413 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.hxx
@@ -65,7 +65,7 @@ namespace nsSelectionType
const SelectionType SEL_DRW_TXT = 0x000400; // draw-textobjects in edit mode
const SelectionType SEL_BEZ = 0x000800; // edit ornament objects
const SelectionType SEL_DRW_FORM = 0x001000; // drawing objects: DB-Forms
- const SelectionType SEL_FOC_FRM_CTRL = 0x002000; // a form control is focused. Neither set nor evaluated by the SwWrtShell itself, only by it's clients.
+ const SelectionType SEL_FOC_FRM_CTRL = 0x002000; // a form control is focused. Neither set nor evaluated by the SwWrtShell itself, only by its clients.
const SelectionType SEL_MEDIA = 0x004000; // Media object
const SelectionType SEL_EXTRUDED_CUSTOMSHAPE = 0x008000; // extruded custom shape
const SelectionType SEL_FONTWORK = 0x010000; // fontwork
diff --git a/sw/source/uibase/lingu/hhcwrp.cxx b/sw/source/uibase/lingu/hhcwrp.cxx
index 95d2ece08aff..fde324abb0f0 100644
--- a/sw/source/uibase/lingu/hhcwrp.cxx
+++ b/sw/source/uibase/lingu/hhcwrp.cxx
@@ -436,7 +436,7 @@ void SwHHCWrapper::ReplaceUnit(
//!! back to false we do it now manually in order for the selection
//!! to be done properly in the following call to Left.
// We didn't fix it in Delete and Insert since it is currently
- // unclear if someone depends on this incorrect behvaiour
+ // unclear if someone depends on this incorrect behaviour
// of the flag.
m_rWrtShell.EndSelect();
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index bdda3e628d55..628eaf51b5bd 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -557,7 +557,7 @@ bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, vcl::Window* pWin,
}
// To allow editing the referenced object from a SwDrawVirtObj here
- // the original needs to be fetched evenually. This ATM activates the
+ // the original needs to be fetched eventually. This ATM activates the
// text edit mode for the original object.
SdrObject* pToBeActivated = pObj;
diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx
index dee0f3ccd5e7..6a915277d92f 100644
--- a/sw/source/uibase/uiview/viewprt.cxx
+++ b/sw/source/uibase/uiview/viewprt.cxx
@@ -229,7 +229,7 @@ void SwView::ExecutePrint(SfxRequest& rReq)
}
}
- //#i61455# if master documentes are printed silently without loaded links then update the links now
+ //#i61455# if master documents are printed silently without loaded links then update the links now
if( bSilent && pSh->IsGlobalDoc() && !pSh->IsGlblDocSaveLinks() )
{
pSh->GetLinkManager().UpdateAllLinks( false, false );
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx
index 904c76697f20..e1070bb27adf 100644
--- a/sw/source/uibase/wrtsh/move.cxx
+++ b/sw/source/uibase/wrtsh/move.cxx
@@ -550,7 +550,7 @@ bool SwWrtShell::PageCursor(SwTwips lOffset, bool bSelect)
// no updating of the display of the cursor position takes place.
// The CursorShell-Actionparentheses cannot be used, because it
// always leads to displaying the cursor, thus also,
- // if after the scroll scrolled in a region without a valid postition.
+ // if after the scroll scrolled in a region without a valid position.
// SwViewShell::StartAction();
PageMove eDir = lOffset > 0? MV_PAGE_DOWN: MV_PAGE_UP;
// Change of direction and stack present