summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:30:11 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 09:51:34 -0500
commit53ade60932857cb9b8b71520bf73c96a2e98dc11 (patch)
treecb4211a170619c5bd417bf245f88935b9468b99d /sfx2/source
parenta68d4460558c52ea7cc17295caa1ce32e2b54673 (diff)
Typo: iff->if
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3 (cherry picked from commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d)
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx2
-rw-r--r--sfx2/source/doc/Metadatable.cxx4
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx6
-rw-r--r--sfx2/source/inc/openuriexternally.hxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index 228f57878a34..a29b22c0d0f2 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -448,7 +448,7 @@ mkException( OUString const & i_rMessage,
<li>ignore the error and continue</li>
<li>retry the action that led to the error</li></ul></p>
N.B.: must not be called before DMA is fully initalized!
- @returns true iff caller should retry
+ @returns true if caller should retry
*/
static bool
handleError( ucb::InteractiveAugmentedIOException const & i_rException,
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index 59dfb8a2d2ac..9f253e5811fa 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -175,7 +175,7 @@ public:
</p>
@returns
- true iff the element has successfully been registered
+ true if the element has successfully been registered
*/
virtual bool TryRegisterMetadatable(Metadatable& i_xObject,
OUString const& i_rStreamName, OUString const& i_rIdref)
@@ -229,7 +229,7 @@ public:
virtual void RemoveXmlIdForElement(Metadatable const&) SAL_OVERRIDE;
/** register i_rCopy as a copy of i_rSource,
- with precedence iff i_bCopyPrecedesSource is true */
+ with precedence if i_bCopyPrecedesSource is true */
void RegisterCopy(Metadatable const& i_rSource, Metadatable & i_rCopy,
const bool i_bCopyPrecedesSource);
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index 54b4a905f88a..2c681be3535b 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -334,10 +334,10 @@ protected:
const css::uno::Sequence<css::beans::PropertyValue> & i_rMedium) const;
/// get text of standard meta data element
OUString SAL_CALL getMetaText(const char* i_name) const;
- /// set text of standard meta data element iff not equal to existing text
+ /// set text of standard meta data element if not equal to existing text
bool SAL_CALL setMetaText(const char* i_name,
const OUString & i_rValue);
- /// set text of standard meta data element iff not equal to existing text
+ /// set text of standard meta data element if not equal to existing text
void SAL_CALL setMetaTextAndNotify(const char* i_name,
const OUString & i_rValue);
/// get text of standard meta data element's attribute
@@ -1002,7 +1002,7 @@ propsToStrings(css::uno::Reference<css::beans::XPropertySet> const & i_xPropSet)
return std::make_pair(comphelper::containerToSequence(values), attrs);
}
-// remove the given element from the DOM, and iff i_pAttrs != 0 insert new one
+// remove the given element from the DOM, and if i_pAttrs != 0 insert new one
void SAL_CALL
SfxDocumentMetaData::updateElement(const char *i_name,
std::vector<std::pair<const char *, OUString> >* i_pAttrs)
diff --git a/sfx2/source/inc/openuriexternally.hxx b/sfx2/source/inc/openuriexternally.hxx
index 42013cd70609..163c2af30e36 100644
--- a/sfx2/source/inc/openuriexternally.hxx
+++ b/sfx2/source/inc/openuriexternally.hxx
@@ -25,7 +25,7 @@ namespace sfx2 {
/// given handleSystemShellExecuteException is false (in which case the
/// exception is re-thrown).
///
-/// @return true iff execution was successful
+/// @return true if execution was successful
bool openUriExternally(
OUString const & uri, bool handleSystemShellExecuteException);