summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:42:27 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:42:27 +0200
commit2a65bf32ec270484dcea4d22d3c93552dc0c24dd (patch)
tree93ef95ef9bda80b60e7eadaea88db64d7ab9d160 /starmath
parent09b4cbe977c755a447f97034189b85998f358d79 (diff)
Revert "Typo: iff->if"
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/edit.cxx2
-rw-r--r--starmath/source/mathmlimport.cxx2
-rw-r--r--starmath/source/node.cxx2
-rw-r--r--starmath/source/parse.cxx2
-rw-r--r--starmath/source/rect.cxx4
5 files changed, 6 insertions, 6 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 77ab03063673..eb544ad8cdc6 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 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 d667e8a4e955..9514aab048cd 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 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 f4153a51b04a..9e6681010e51 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 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 0363eb4ae223..4bafb9acdf52 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' 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 2bd96267f602..ad8a2e481a34 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 if symbol (from StarMath Font) should be treated as letter
+ // true iff 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 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.
{