diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-23 20:42:27 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-06-23 20:42:27 +0200 |
commit | 2a65bf32ec270484dcea4d22d3c93552dc0c24dd (patch) | |
tree | 93ef95ef9bda80b60e7eadaea88db64d7ab9d160 /sw/inc | |
parent | 09b4cbe977c755a447f97034189b85998f358d79 (diff) |
Revert "Typo: iff->if"
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d.
iff can mean "if and only if" so not a typo
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ndhints.hxx | 4 | ||||
-rw-r--r-- | sw/inc/ndtxt.hxx | 2 | ||||
-rw-r--r-- | sw/inc/node.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx index cae02bbd4c68..44c853b98f1f 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 if hint successfully inserted + /// @return true iff 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 if changed + /// calc current value of m_bHasHiddenParaField, returns true iff changed bool CalcHiddenParaField(); DECL_FIXEDMEMPOOL_NEWDEL(SwpHints) diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index a91bf3402ee8..94ffd6a7401b 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 if inserted successfully + /// Insert pAttr into hints array. @return true iff 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 e454aea40cf3..bc8f8d090a31 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 if + /// invariant: SwFrameFormat is in the list iff /// SwFrameFormat::GetAnchor().GetContentAnchor() points to this node std::unique_ptr<std::vector<SwFrameFormat*>> m_pAnchoredFlys; |