diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-05-18 16:27:05 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-18 18:55:17 +0200 |
commit | 26a67002fcb9381b54de6cae1aaa37120d49066a (patch) | |
tree | e631d9a79a249f1eb3e5c80f5158eece7b4ad040 /starmath | |
parent | 700e262a4943a6d279cc4800bb9bd173aff0c3e1 (diff) |
Fix typos
Only replaced "iff" with "if"
Change-Id: Ib9dfa5c12b05500043147fe3b65f923b1b12a581
Reviewed-on: https://gerrit.libreoffice.org/37782
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathmlimport.cxx | 2 | ||||
-rw-r--r-- | starmath/source/node.cxx | 2 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 2 | ||||
-rw-r--r-- | starmath/source/rect.cxx | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index b2e41cd36d3d..86c6b9490b7d 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -801,7 +801,7 @@ void SmEditWindow::SelPrevMark() } bool SmEditWindow::HasMark(const OUString& rText) - // returns true iff 'rText' contains a mark + // returns true if 'rText' contains a mark { return rText.indexOf("<?>") != -1; } diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 583c0b925821..33c3526e99b4 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -1982,7 +1982,7 @@ SvXMLImportContext *SmXMLFlatDocContext_Impl::CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, const uno::Reference<xml::sax::XAttributeList>& i_xAttrList) { - // behave like meta base class iff we encounter office:meta + // behave like meta base class if we encounter office:meta if ( XML_NAMESPACE_OFFICE == i_nPrefix && i_rLocalName == GetXMLToken(XML_META) ) { diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index efc13f4483ee..ce413e1b2464 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -897,7 +897,7 @@ double Det(const Point &rHeading1, const Point &rHeading2) } -/// Is true iff the point 'rPoint1' belongs to the straight line through 'rPoint2' +/// Is true if the point 'rPoint1' belongs to the straight line through 'rPoint2' /// and has the direction vector 'rHeading2' bool IsPointInLine(const Point &rPoint1, const Point &rPoint2, const Point &rHeading2) diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 9941d97c9cfa..b0ddfdb9694b 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -308,7 +308,7 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const OUString &rName ) namespace { bool IsDelimiter( const OUString &rTxt, sal_Int32 nPos ) - // returns 'true' iff cChar is '\0' or a delimiter + // returns 'true' if cChar is '\0' or a delimiter { assert(nPos <= rTxt.getLength()); //index out of range diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 0199290ee215..a5cd7e9365ee 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -112,7 +112,7 @@ bool SmGetGlyphBoundRect(const vcl::RenderContext &rDev, } bool SmIsMathAlpha(const OUString &rText) - // true iff symbol (from StarMath Font) should be treated as letter + // true if symbol (from StarMath Font) should be treated as letter { // Set of symbols, which should be treated as letters in StarMath Font // (to get a normal (non-clipped) SmRect in contrast to the other operators @@ -554,7 +554,7 @@ SmRect & SmRect::ExtendBy(const SmRect &rRect, RectCopyMBL eCopyMode, long SmRect::OrientedDist(const Point &rPoint) const // return oriented distance of rPoint to the current rectangle, - // especially the return value is <= 0 iff the point is inside the + // especially the return value is <= 0 if the point is inside the // rectangle. // For simplicity the maximum-norm is used. { |