summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/ndhints.hxx4
-rw-r--r--sw/inc/ndtxt.hxx2
-rw-r--r--sw/inc/node.hxx2
-rw-r--r--sw/source/core/inc/UndoSection.hxx2
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/core/undo/unsect.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx2
-rw-r--r--sw/source/filter/xml/xmlimp.cxx2
-rw-r--r--sw/source/uibase/wrtsh/navmgr.cxx2
11 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx
index 44c853b98f1f..cae02bbd4c68 100644
--- a/sw/inc/ndhints.hxx
+++ b/sw/inc/ndhints.hxx
@@ -216,14 +216,14 @@ public:
SwRegHistory* GetHistory() const { return m_pHistory; }
/// try to insert the hint
- /// @return true iff hint successfully inserted
+ /// @return true if hint successfully inserted
bool TryInsertHint( SwTextAttr * const pHint, SwTextNode & rNode,
const SetAttrMode nMode = SetAttrMode::DEFAULT );
bool HasFootnote() const { return m_bFootnote; }
bool IsInSplitNode() const { return m_bInSplitNode; }
- /// calc current value of m_bHasHiddenParaField, returns true iff changed
+ /// calc current value of m_bHasHiddenParaField, returns true if changed
bool CalcHiddenParaField();
DECL_FIXEDMEMPOOL_NEWDEL(SwpHints)
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index 94ffd6a7401b..a91bf3402ee8 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -288,7 +288,7 @@ public:
/// initialize the hints after file loading (which takes shortcuts)
void FileLoadedInitHints();
- /// Insert pAttr into hints array. @return true iff inserted successfully
+ /// Insert pAttr into hints array. @return true if inserted successfully
bool InsertHint( SwTextAttr * const pAttr,
const SetAttrMode nMode = SetAttrMode::DEFAULT );
/// create new text attribute from rAttr and insert it
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index bc8f8d090a31..e454aea40cf3 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -95,7 +95,7 @@ class SW_DLLPUBLIC SwNode
#endif
/// all SwFrameFormat that are anchored at the node
- /// invariant: SwFrameFormat is in the list iff
+ /// invariant: SwFrameFormat is in the list if
/// SwFrameFormat::GetAnchor().GetContentAnchor() points to this node
std::unique_ptr<std::vector<SwFrameFormat*>> m_pAnchoredFlys;
diff --git a/sw/source/core/inc/UndoSection.hxx b/sw/source/core/inc/UndoSection.hxx
index 16f1f1131c76..e9a6ee011433 100644
--- a/sw/source/core/inc/UndoSection.hxx
+++ b/sw/source/core/inc/UndoSection.hxx
@@ -34,7 +34,7 @@ class SwUndoInsSection : public SwUndo, private SwUndRng
{
private:
const ::std::unique_ptr<SwSectionData> m_pSectionData;
- const ::std::unique_ptr<SwTOXBase> m_pTOXBase; /// set iff section is TOX
+ const ::std::unique_ptr<SwTOXBase> m_pTOXBase; /// set if section is TOX
const ::std::unique_ptr<SfxItemSet> m_pAttrSet;
::std::unique_ptr<SwHistory> m_pHistory;
::std::unique_ptr<SwRedlineData> m_pRedlData;
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 669ab940d155..4b55a4c61c7d 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -351,7 +351,7 @@ splitting of exising hints that is necessary for backward compatibility.
@param rNode the text node
@param rHint the hint to be inserted
- @returns true iff hint was successfully inserted
+ @returns true if hint was successfully inserted
*/
bool
SwpHints::TryInsertNesting( SwTextNode & rNode, SwTextAttrNesting & rNewHint )
diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx
index 722510d05dd8..35ae84c7ab6b 100644
--- a/sw/source/core/undo/unsect.cxx
+++ b/sw/source/core/undo/unsect.cxx
@@ -275,7 +275,7 @@ class SwUndoDelSection
{
private:
::std::unique_ptr<SwSectionData> const m_pSectionData; /// section not TOX
- ::std::unique_ptr<SwTOXBase> const m_pTOXBase; /// set iff section is TOX
+ ::std::unique_ptr<SwTOXBase> const m_pTOXBase; /// set if section is TOX
::std::unique_ptr<SfxItemSet> const m_pAttrSet;
std::shared_ptr< ::sfx2::MetadatableUndo > const m_pMetadataUndo;
sal_uLong const m_nStartNode;
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 8691bfa291f0..0a1c38054fb7 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -511,7 +511,7 @@ public:
SwWW8WrGrf* m_pGrf;
const SwAttrSet* m_pStyAttr; // StyleAttr for Tabs
const SwModify* m_pOutFormatNode; // write Format or Node
- const SwFormat *m_pCurrentStyle; // iff bStyDef=true, then this store the current style
+ const SwFormat *m_pCurrentStyle; // if bStyDef=true, then this store the current style
MainTextPlcDrawObj *m_pSdrObjs; // Draw-/Fly-Objects
HdFtPlcDrawObj *m_pHFSdrObjs; // Draw-/Fly-Objects in header or footer
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 45a41a2404b9..803ebcd48369 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -5758,7 +5758,7 @@ const wwSprmDispatcher *GetWW8SprmDispatcher()
{0x2A0C, &SwWW8ImplReader::Read_CharHighlight},//"sprmCHighlight"
//chp.fHighlight,
//chp.icoHighlight;ico
- //(fHighlight is set to 1 iff
+ //(fHighlight is set to 1 if
//ico is not 0);byte;
{0x680E, &SwWW8ImplReader::Read_PicLoc}, //"sprmCObjLocation" chp.fcObj;
//FC;long;
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 69bbbd57bede..94bd458f278e 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -550,7 +550,7 @@ const wwSprmSearcher *wwSprmParser::GetWW8SprmSearcher()
{0x480B, { 0, L_FIX} }, // "sprmCIdCharType" obsolete: not applicable in
// Word97 and later versions;;;
{0x2A0C, { 1, L_FIX} }, // "sprmCHighlight" chp.fHighlight,
- // chp.icoHighlight;ico (fHighlight is set to 1 iff
+ // chp.icoHighlight;ico (fHighlight is set to 1 if
// ico is not 0)
{0x680E, { 4, L_FIX} }, // "sprmCObjLocation" chp.fcObj;FC;long;
{0x2A10, { 0, L_FIX} }, // "sprmCFFtcAsciSymb" ;;;
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 981eb59d07b7..18e0a850f357 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -304,7 +304,7 @@ SvXMLImportContext* SwXMLOfficeDocContext_Impl::CreateChildContext(
}
}
- // behave like meta base class iff we encounter office:meta
+ // behave like meta base class if we encounter office:meta
if ( XML_TOK_DOC_META == rTokenMap.Get( nPrefix, rLocalName ) ) {
return SvXMLMetaDocumentContext::CreateChildContext(
nPrefix, rLocalName, xAttrList );
diff --git a/sw/source/uibase/wrtsh/navmgr.cxx b/sw/source/uibase/wrtsh/navmgr.cxx
index 1811532e2d50..9621e8d17838 100644
--- a/sw/source/uibase/wrtsh/navmgr.cxx
+++ b/sw/source/uibase/wrtsh/navmgr.cxx
@@ -95,7 +95,7 @@ void SwNavigationMgr::goBack() {
// We are adding the current Point to the navigation history
// so we could later navigate forward to it
- // The addEntry() method returns true iff we should decrement
+ // The addEntry() method returns true if we should decrement
// the index before navigating back
if (addEntry(*pPaM->GetPoint()) ) {