diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-18 21:58:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-18 21:58:31 +0200 |
commit | 52ef15cbdb428596b562dbbbc92ae2fcf3473890 (patch) | |
tree | e2a73ce67c78e310a41e55d2873667d9f4d20e27 /starmath | |
parent | 6bde2e93a2e0f94bc2263928cb27c4b85827822d (diff) |
Revert "Fix typos"
This reverts commit 26a67002fcb9381b54de6cae1aaa37120d49066a. "Iff" is not a
typo, see 2a65bf32ec270484dcea4d22d3c93552dc0c24dd "Revert 'Typo: iff->if'".
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 86c6b9490b7d..b2e41cd36d3d 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 if 'rText' contains a mark + // returns true iff 'rText' contains a mark { return rText.indexOf("<?>") != -1; } diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 33c3526e99b4..583c0b925821 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 if we encounter office:meta + // behave like meta base class iff 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 ce413e1b2464..efc13f4483ee 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 if the point 'rPoint1' belongs to the straight line through 'rPoint2' +/// Is true iff 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 b0ddfdb9694b..9941d97c9cfa 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' if cChar is '\0' or a delimiter + // returns 'true' iff 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 a5cd7e9365ee..0199290ee215 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 if symbol (from StarMath Font) should be treated as letter + // true iff 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 if the point is inside the + // especially the return value is <= 0 iff the point is inside the // rectangle. // For simplicity the maximum-norm is used. { |