summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:30:11 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:30:11 +0200
commitcf92da3d6e1de14756efe3f1ee79f393a2f3787d (patch)
treee459cecb503f3de8550c078e01a4a3634ca3fb5f /include
parentvcl: fix window vs buffer map mode mismatch in PaintHelper (diff)
downloadcore-cf92da3d6e1de14756efe3f1ee79f393a2f3787d.tar.gz
core-cf92da3d6e1de14756efe3f1ee79f393a2f3787d.zip
Typo: iff->if
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
Diffstat (limited to 'include')
-rw-r--r--include/basebmp/accessorfunctors.hxx4
-rw-r--r--include/canvas/base/canvascustomspritehelper.hxx12
-rw-r--r--include/codemaker/exceptiontree.hxx4
-rw-r--r--include/codemaker/generatedtypeset.hxx2
-rw-r--r--include/comphelper/propertybag.hxx2
-rw-r--r--include/cppuhelper/supportsservice.hxx2
-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
11 files changed, 24 insertions, 24 deletions
diff --git a/include/basebmp/accessorfunctors.hxx b/include/basebmp/accessorfunctors.hxx
index 02e3abaded95..44ceceeffc71 100644
--- a/include/basebmp/accessorfunctors.hxx
+++ b/include/basebmp/accessorfunctors.hxx
@@ -80,7 +80,7 @@ template< typename T,
{
typedef typename make_unsigned<T>::type unsigned_T;
- // mask will be 0, iff m == 0, and 1 otherwise
+ // mask will be 0, if m == 0, and 1 otherwise
const T mask( unsigned_cast<T>(m | -m) >> (sizeof(unsigned_T)*8 - 1) );
return v1*static_cast<M>(1-mask) + v2*mask;
}
@@ -96,7 +96,7 @@ template< typename T,
{
typedef typename make_unsigned<T>::type unsigned_T;
- // mask will be 0, iff m == 0, and 1 otherwise
+ // mask will be 0, if m == 0, and 1 otherwise
const T mask( unsigned_cast<T>(m | -m) >> (sizeof(unsigned_T)*8 - 1) );
return v1*mask + v2*static_cast<M>(1-mask);
}
diff --git a/include/canvas/base/canvascustomspritehelper.hxx b/include/canvas/base/canvascustomspritehelper.hxx
index fe29f5c5146b..1d9c24b23bee 100644
--- a/include/canvas/base/canvascustomspritehelper.hxx
+++ b/include/canvas/base/canvascustomspritehelper.hxx
@@ -262,22 +262,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 091ff034bf72..b97286c29784 100644
--- a/include/codemaker/exceptiontree.hxx
+++ b/include/codemaker/exceptiontree.hxx
@@ -70,10 +70,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 ca4ad24c68be..1a08e89618be 100644
--- a/include/codemaker/generatedtypeset.hxx
+++ b/include/codemaker/generatedtypeset.hxx
@@ -54,7 +54,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/comphelper/propertybag.hxx b/include/comphelper/propertybag.hxx
index 484246a11d17..1c72940c27c5 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 = true);
diff --git a/include/cppuhelper/supportsservice.hxx b/include/cppuhelper/supportsservice.hxx
index 10dcfb553b38..d1aa6eba2f37 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/registry/reader.hxx b/include/registry/reader.hxx
index 67888df4f6f9..d877f382bb5b 100644
--- a/include/registry/reader.hxx
+++ b/include/registry/reader.hxx
@@ -116,7 +116,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 != 0;
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 6234e8e58bb6..027c63854414 100644
--- a/include/unotools/ucbhelper.hxx
+++ b/include/unotools/ucbhelper.hxx
@@ -44,7 +44,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(