summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase')
-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
12 files changed, 12 insertions, 12 deletions
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