summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-05-18 16:27:05 +0200
committerEike Rathke <erack@redhat.com>2017-05-18 18:55:17 +0200
commit26a67002fcb9381b54de6cae1aaa37120d49066a (patch)
treee631d9a79a249f1eb3e5c80f5158eece7b4ad040 /include
parent700e262a4943a6d279cc4800bb9bd173aff0c3e1 (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 'include')
-rw-r--r--include/canvas/base/canvascustomspritehelper.hxx14
-rw-r--r--include/codemaker/exceptiontree.hxx4
-rw-r--r--include/codemaker/generatedtypeset.hxx2
-rw-r--r--include/com/sun/star/uno/Any.h2
-rw-r--r--include/comphelper/fileurl.hxx2
-rw-r--r--include/comphelper/propertybag.hxx2
-rw-r--r--include/cppuhelper/supportsservice.hxx2
-rw-r--r--include/jvmfwk/framework.hxx2
-rw-r--r--include/o3tl/any.hxx2
-rw-r--r--include/onlineupdate/mozilla/TypeTraits.h4
-rw-r--r--include/registry/reader.hxx2
-rw-r--r--include/registry/typereg_reader.hxx4
-rw-r--r--include/registry/writer.h12
-rw-r--r--include/uno/dispatcher.h2
-rw-r--r--include/unotools/ucbhelper.hxx2
15 files changed, 29 insertions, 29 deletions
diff --git a/include/canvas/base/canvascustomspritehelper.hxx b/include/canvas/base/canvascustomspritehelper.hxx
index f44f5213b1e7..f0a3fde38fb4 100644
--- a/include/canvas/base/canvascustomspritehelper.hxx
+++ b/include/canvas/base/canvascustomspritehelper.hxx
@@ -208,7 +208,7 @@ namespace canvas
This method recomputes the maCurrClipBounds and
mbIsCurrClipRectangle members from the current clip and
- transformation. IFF the clip changed from rectangular to
+ transformation. If the clip changed from rectangular to
rectangular again, this method issues a sequence of
optimized SpriteSurface::updateSprite() calls.
@@ -258,22 +258,22 @@ namespace canvas
*/
mutable bool mbIsContentFullyOpaque;
- /// True, iff mfAlpha has changed
+ /// True, if mfAlpha has changed
mutable bool mbAlphaDirty;
- /// True, iff maPosition has changed
+ /// True, if maPosition has changed
mutable bool mbPositionDirty;
- /// True, iff maTransform has changed
+ /// True, if maTransform has changed
mutable bool mbTransformDirty;
- /// True, iff mxClipPoly has changed
+ /// True, if mxClipPoly has changed
mutable bool mbClipDirty;
- /// True, iff mnPriority has changed
+ /// True, if mnPriority has changed
mutable bool mbPrioDirty;
- /// True, iff mbActive has changed
+ /// True, if mbActive has changed
mutable bool mbVisibilityDirty;
};
}
diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx
index 7118006ef71b..6cb3d06e3441 100644
--- a/include/codemaker/exceptiontree.hxx
+++ b/include/codemaker/exceptiontree.hxx
@@ -71,10 +71,10 @@ private:
exception com.sun.star.uno.RuntimeException and its subtypes are pruned
completely from the hierarchy. Each node of the hierarchy is represented by
an instance of ExceptionTreeNode, where name gives the name of the UNO
- exception type, present is true iff the given exception type is a member of
+ exception type, present is true if the given exception type is a member of
the set S, and children contains all the relevant direct subtypes of the
given exception type, in no particular order (for nodes other than the root
- node it holds that children is non-empty iff present is false).
+ node it holds that children is non-empty if present is false).
*/
class ExceptionTree {
public:
diff --git a/include/codemaker/generatedtypeset.hxx b/include/codemaker/generatedtypeset.hxx
index 21c9d0b1ba2a..159101b14362 100644
--- a/include/codemaker/generatedtypeset.hxx
+++ b/include/codemaker/generatedtypeset.hxx
@@ -52,7 +52,7 @@ public:
@param type a UNO type registry name
- @return true iff the given type has already been generated
+ @return true if the given type has already been generated
*/
bool contains(OString const & type) const
{ return m_set.find(type) != m_set.end(); }
diff --git a/include/com/sun/star/uno/Any.h b/include/com/sun/star/uno/Any.h
index 0a5f595cbb9d..917b023b72b9 100644
--- a/include/com/sun/star/uno/Any.h
+++ b/include/com/sun/star/uno/Any.h
@@ -341,7 +341,7 @@ template<> inline Any toAny(Any const & value);
@param value a non-null pointer, receiving the extracted value if
extraction succeeded (and left unmodified otherwise)
- @return true iff extraction succeeded
+ @return true if extraction succeeded
@since LibreOffice 5.3
*/
diff --git a/include/comphelper/fileurl.hxx b/include/comphelper/fileurl.hxx
index 9275d4abbfc4..7fade5d12e41 100644
--- a/include/comphelper/fileurl.hxx
+++ b/include/comphelper/fileurl.hxx
@@ -27,7 +27,7 @@
namespace comphelper {
-// Return true iff url is an absolute URL of "file" scheme:
+// Return true if url is an absolute URL of "file" scheme:
COMPHELPER_DLLPUBLIC bool isFileUrl(OUString const & url);
}
diff --git a/include/comphelper/propertybag.hxx b/include/comphelper/propertybag.hxx
index dcca91db86dd..4197e967000c 100644
--- a/include/comphelper/propertybag.hxx
+++ b/include/comphelper/propertybag.hxx
@@ -51,7 +51,7 @@ namespace comphelper
/** allow adding property with empty string as name
(by default, such names are rejected with IllegalActionException).
@param i_isAllowed
- iff true, empty property name will be allowed
+ if true, empty property name will be allowed
*/
void setAllowEmptyPropertyName(bool i_isAllowed);
diff --git a/include/cppuhelper/supportsservice.hxx b/include/cppuhelper/supportsservice.hxx
index 0a1bee42f926..9926e186f496 100644
--- a/include/cppuhelper/supportsservice.hxx
+++ b/include/cppuhelper/supportsservice.hxx
@@ -33,7 +33,7 @@ namespace cppu {
@param name the service name to test
- @return true iff the sequence returned by the given implementation's
+ @return true if the sequence returned by the given implementation's
getSupportedServices method contains the given name
@since LibreOffice 4.0
diff --git a/include/jvmfwk/framework.hxx b/include/jvmfwk/framework.hxx
index 767727146c63..f77099661b9f 100644
--- a/include/jvmfwk/framework.hxx
+++ b/include/jvmfwk/framework.hxx
@@ -294,7 +294,7 @@ JVMFWK_DLLPUBLIC bool jfw_areEqualJavaInfo(
that the changed setting may not be effective immediately.</p>
@return
- true iff a VM is running.
+ true if a VM is running.
*/
JVMFWK_DLLPUBLIC bool jfw_isVMRunning();
diff --git a/include/o3tl/any.hxx b/include/o3tl/any.hxx
index 85fd28106419..743b7ac68bfb 100644
--- a/include/o3tl/any.hxx
+++ b/include/o3tl/any.hxx
@@ -101,7 +101,7 @@ template<typename T> inline boost::optional<T const> tryGetConverted(
">>=" are considered.
The returned object is a proxy. Proxies can be either positive or negative.
- Each proxy can be contextually converted to bool, yielding true iff the
+ Each proxy can be contextually converted to bool, yielding true if the
proxy is positive. For a positive proxy P representing a value of requested
type T, for any T other than void, the expression *P yields that value of
type T. (Technically, the proxy is either a plain pointer or a
diff --git a/include/onlineupdate/mozilla/TypeTraits.h b/include/onlineupdate/mozilla/TypeTraits.h
index 16ef7ddb0cda..5aa6a7d7d2d6 100644
--- a/include/onlineupdate/mozilla/TypeTraits.h
+++ b/include/onlineupdate/mozilla/TypeTraits.h
@@ -298,7 +298,7 @@ struct IsReference
/**
* IsArithmetic determines whether a type is arithmetic. A type is arithmetic
- * iff it is an integral type or a floating point type.
+ * if it is an integral type or a floating point type.
*
* mozilla::IsArithmetic<int>::value is true;
* mozilla::IsArithmetic<double>::value is true;
@@ -384,7 +384,7 @@ struct IsEmptyHelper
/**
* IsEmpty determines whether a type is a class (but not a union) that is empty.
*
- * A class is empty iff it and all its base classes have no non-static data
+ * A class is empty if it and all its base classes have no non-static data
* members (except bit-fields of length 0) and no virtual member functions, and
* no base class is empty or a virtual base class.
*
diff --git a/include/registry/reader.hxx b/include/registry/reader.hxx
index 0b2be13fbc30..6be8570bda1c 100644
--- a/include/registry/reader.hxx
+++ b/include/registry/reader.hxx
@@ -99,7 +99,7 @@ public:
/**
Returns whether this type reader is valid.
- @return true iff this type reader is valid
+ @return true if this type reader is valid
*/
bool isValid() const {
return m_handle != nullptr;
diff --git a/include/registry/typereg_reader.hxx b/include/registry/typereg_reader.hxx
index 64c2261f4e0e..440e2c91e601 100644
--- a/include/registry/typereg_reader.hxx
+++ b/include/registry/typereg_reader.hxx
@@ -51,7 +51,7 @@
not be null; if the given binary blob is malformed, or of a version larger
than <code>maxVersion</code>, null is returned
- @return false iff an out-of-memory condition occurred, in which case
+ @return false if an out-of-memory condition occurred, in which case
<code>result</code> is left unchanged, and no type reader is created
@since UDK 3.2.0
@@ -296,7 +296,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_reader_getFieldTypeName(
@param value an out-parameter obtaining the field value's value; must not be
null
- @return false iff an out-of-memory condition occurred, in which case
+ @return false if an out-of-memory condition occurred, in which case
<code>type</code> and <code>value</code> are left unchanged
@since UDK 3.2.0
diff --git a/include/registry/writer.h b/include/registry/writer.h
index e05b09634ede..a0c458afaff4 100644
--- a/include/registry/writer.h
+++ b/include/registry/writer.h
@@ -89,7 +89,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_writer_destroy(void * handle) SAL_THROW_EXTE
@param typeName the super type name; must not be null
- @return false iff an out-of-memory condition occurred, in which case the type
+ @return false if an out-of-memory condition occurred, in which case the type
writer is not modified
@since UDK 3.2.0
@@ -119,7 +119,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setSuperTypeName(
@param valueValue the value of the value of the field
- @return false iff an out-of-memory condition occurred, in which case the type
+ @return false if an out-of-memory condition occurred, in which case the type
writer is not modified
@since UDK 3.2.0
@@ -150,7 +150,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setFieldData(
@param exceptionCount the number of exceptions of the method
- @return false iff an out-of-memory condition occurred, in which case the type
+ @return false if an out-of-memory condition occurred, in which case the type
writer is not modified
@since UDK 3.2.0
@@ -179,7 +179,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodData(
@param typeName the type name of the parameter; must not be null
- @return false iff an out-of-memory condition occurred, in which case the type
+ @return false if an out-of-memory condition occurred, in which case the type
writer is not modified
@since UDK 3.2.0
@@ -202,7 +202,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodParameterData(
@param typeName the exception type name; must not be null
- @return false iff an out-of-memory condition occurred, in which case the type
+ @return false if an out-of-memory condition occurred, in which case the type
writer is not modified
@since UDK 3.2.0
@@ -228,7 +228,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodExceptionTypeName(
@param typeName the type name of the reference; must not be null
- @return false iff an out-of-memory condition occurred, in which case the type
+ @return false if an out-of-memory condition occurred, in which case the type
writer is not modified
@since UDK 3.2.0
diff --git a/include/uno/dispatcher.h b/include/uno/dispatcher.h
index d4bde04d077e..c324641c6291 100644
--- a/include/uno/dispatcher.h
+++ b/include/uno/dispatcher.h
@@ -31,7 +31,7 @@ struct _typelib_TypeDescription;
struct _uno_Interface;
/** Function pointer declaration for the binary C uno dispatch function. Any pure out or return
- value will be constructed by the callee, iff no exception is signalled.
+ value will be constructed by the callee, if no exception is signalled.
If an exception is signalled, the any *ppException is properly constructed by the callee,
otherwise the pointer *ppException is set to 0.
An attribute get call is indicated by a non-null return pointer.
diff --git a/include/unotools/ucbhelper.hxx b/include/unotools/ucbhelper.hxx
index 201f1b15722e..66cc75212c6c 100644
--- a/include/unotools/ucbhelper.hxx
+++ b/include/unotools/ucbhelper.hxx
@@ -43,7 +43,7 @@ UNOTOOLS_DLLPUBLIC bool IsDocument(OUString const & url);
UNOTOOLS_DLLPUBLIC bool IsFolder(OUString const & url);
/// @param title must not be null
-/// @return true iff title has been set (i.e., if obtaining the "Title" property
+/// @return true if title has been set (i.e., if obtaining the "Title" property
/// of the given content yields a non-void value without raising a
/// non-RuntimeException; RuntimeExceptions are passed through)
UNOTOOLS_DLLPUBLIC bool GetTitle(