summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-18 21:58:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-18 21:58:31 +0200
commit52ef15cbdb428596b562dbbbc92ae2fcf3473890 (patch)
treee2a73ce67c78e310a41e55d2873667d9f4d20e27 /include
parent6bde2e93a2e0f94bc2263928cb27c4b85827822d (diff)
Revert "Fix typos"
This reverts commit 26a67002fcb9381b54de6cae1aaa37120d49066a. "Iff" is not a typo, see 2a65bf32ec270484dcea4d22d3c93552dc0c24dd "Revert 'Typo: iff->if'".
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 f0a3fde38fb4..f44f5213b1e7 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. If the clip changed from rectangular to
+ transformation. IFF 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, if mfAlpha has changed
+ /// True, iff mfAlpha has changed
mutable bool mbAlphaDirty;
- /// True, if maPosition has changed
+ /// True, iff maPosition has changed
mutable bool mbPositionDirty;
- /// True, if maTransform has changed
+ /// True, iff maTransform has changed
mutable bool mbTransformDirty;
- /// True, if mxClipPoly has changed
+ /// True, iff mxClipPoly has changed
mutable bool mbClipDirty;
- /// True, if mnPriority has changed
+ /// True, iff mnPriority has changed
mutable bool mbPrioDirty;
- /// True, if mbActive has changed
+ /// True, iff mbActive has changed
mutable bool mbVisibilityDirty;
};
}
diff --git a/include/codemaker/exceptiontree.hxx b/include/codemaker/exceptiontree.hxx
index 6cb3d06e3441..7118006ef71b 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 if the given exception type is a member of
+ exception type, present is true iff 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 if present is false).
+ node it holds that children is non-empty iff present is false).
*/
class ExceptionTree {
public:
diff --git a/include/codemaker/generatedtypeset.hxx b/include/codemaker/generatedtypeset.hxx
index 159101b14362..21c9d0b1ba2a 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 if the given type has already been generated
+ @return true iff 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 917b023b72b9..0a5f595cbb9d 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 if extraction succeeded
+ @return true iff extraction succeeded
@since LibreOffice 5.3
*/
diff --git a/include/comphelper/fileurl.hxx b/include/comphelper/fileurl.hxx
index 7fade5d12e41..9275d4abbfc4 100644
--- a/include/comphelper/fileurl.hxx
+++ b/include/comphelper/fileurl.hxx
@@ -27,7 +27,7 @@
namespace comphelper {
-// Return true if url is an absolute URL of "file" scheme:
+// Return true iff 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 4197e967000c..dcca91db86dd 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
- if true, empty property name will be allowed
+ iff 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 9926e186f496..0a1bee42f926 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 if the sequence returned by the given implementation's
+ @return true iff 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 f77099661b9f..767727146c63 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 if a VM is running.
+ true iff a VM is running.
*/
JVMFWK_DLLPUBLIC bool jfw_isVMRunning();
diff --git a/include/o3tl/any.hxx b/include/o3tl/any.hxx
index 743b7ac68bfb..85fd28106419 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 if the
+ Each proxy can be contextually converted to bool, yielding true iff 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 5aa6a7d7d2d6..16ef7ddb0cda 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
- * if it is an integral type or a floating point type.
+ * iff 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 if it and all its base classes have no non-static data
+ * A class is empty iff 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 6be8570bda1c..0b2be13fbc30 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 if this type reader is valid
+ @return true iff 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 440e2c91e601..64c2261f4e0e 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 if an out-of-memory condition occurred, in which case
+ @return false iff 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 if an out-of-memory condition occurred, in which case
+ @return false iff 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 a0c458afaff4..e05b09634ede 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 if an out-of-memory condition occurred, in which case the type
+ @return false iff 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 if an out-of-memory condition occurred, in which case the type
+ @return false iff 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 if an out-of-memory condition occurred, in which case the type
+ @return false iff 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 if an out-of-memory condition occurred, in which case the type
+ @return false iff 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 if an out-of-memory condition occurred, in which case the type
+ @return false iff 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 if an out-of-memory condition occurred, in which case the type
+ @return false iff 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 c324641c6291..d4bde04d077e 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, if no exception is signalled.
+ value will be constructed by the callee, iff 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 66cc75212c6c..201f1b15722e 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 if title has been set (i.e., if obtaining the "Title" property
+/// @return true iff 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(