diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-23 20:30:11 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-06-23 20:30:11 +0200 |
commit | cf92da3d6e1de14756efe3f1ee79f393a2f3787d (patch) | |
tree | e459cecb503f3de8550c078e01a4a3634ca3fb5f /starmath | |
parent | b9064c0780232610af9e4d45ba5c85b9496d1f75 (diff) |
Typo: iff->if
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
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 eb544ad8cdc6..77ab03063673 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -908,7 +908,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 9514aab048cd..d667e8a4e955 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -1825,7 +1825,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 9e6681010e51..f4153a51b04a 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -1149,7 +1149,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 4bafb9acdf52..0363eb4ae223 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -320,7 +320,7 @@ static const sal_Unicode aDelimiterTable[] = }; bool SmParser::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 ad8a2e481a34..2bd96267f602 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -49,7 +49,7 @@ static sal_Unicode const aMathAlpha[] = }; 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 { if (rText.isEmpty()) return false; @@ -526,7 +526,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. { |