summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/text/pormulti.cxx2
-rw-r--r--sw/source/ui/docvw/SidebarWin.cxx2
-rw-r--r--sw/source/ui/wrtsh/wrtsh1.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 95737d35adea..e7ea3ff87652 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -2186,7 +2186,7 @@ sal_Bool SwTxtFormatter::BuildMultiPortion( SwTxtFormatInfo &rInf,
* has to be set. Normally this happens during the formatting of the first
* part of the fieldportion.
* But sometimes the formatting starts at the line with the following part,
- * exspecally when the following part is on the next page.
+ * especially when the following part is on the next page.
* In this case the MakeRestPortion-function has to create the following part.
* The first parameter is the line that contains possibly a first part
* of a field. When the function finds such field part, it creates the right
diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx
index 4b08ab53bcb2..d691a8be5ae4 100644
--- a/sw/source/ui/docvw/SidebarWin.cxx
+++ b/sw/source/ui/docvw/SidebarWin.cxx
@@ -900,7 +900,7 @@ void SwSidebarWin::ToggleInsMode()
{
//change outliner
mpOutlinerView->GetEditView().SetInsertMode(!mpOutlinerView->GetEditView().IsInsertMode());
- //change documnet
+ //change document
mrView.GetWrtShell().ToggleInsMode();
//update statusbar
SfxBindings &rBnd = mrView.GetViewFrame()->GetBindings();
diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx
index 409500b399bb..1be2d1087a50 100644
--- a/sw/source/ui/wrtsh/wrtsh1.cxx
+++ b/sw/source/ui/wrtsh/wrtsh1.cxx
@@ -1054,7 +1054,7 @@ void SwWrtShell::SplitNode( sal_Bool bAutoFmt, sal_Bool bCheckTableStart )
// cursor position in the document.
void SwWrtShell::NumOrBulletOn(sal_Bool bNum)
{
- // determine numbering rule found at current cursor position in the docment.
+ // determine numbering rule found at current cursor position in the document.
const SwNumRule* pCurRule = GetCurNumRule();
StartUndo(UNDO_NUMORNONUM);
@@ -1106,7 +1106,7 @@ void SwWrtShell::NumOrBulletOn(sal_Bool bNum)
GetCrsr()->GetPoint()->nNode.GetNode().GetTxtNode();
if ( pTxtNode && !pTxtNode->IsCountedInList() )
{
- // check, if numbering of the outline level of the pararaph
+ // check, if numbering of the outline level of the paragraph
// style is active. If not, activate this outline level.
nActivateOutlineLvl = pColl->GetAssignedOutlineStyleLevel();
OSL_ENSURE( pColl->IsAssignedToListLevelOfOutlineStyle(),
@@ -1154,7 +1154,7 @@ void SwWrtShell::NumOrBulletOn(sal_Bool bNum)
}
else
{
- // check, if numbering of the outline level of the pararaph
+ // check, if numbering of the outline level of the paragraph
// style is active. If not, activate this outline level.
nActivateOutlineLvl = pColl->GetAssignedOutlineStyleLevel();
OSL_ENSURE( pColl->IsAssignedToListLevelOfOutlineStyle(),