summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
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 'sfx2')
-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/doc/objserv.cxx2
-rw-r--r--sfx2/source/inc/openuriexternally.hxx2
5 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index 2b4f3535dfb6..6076eb1513d9 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -438,7 +438,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 initialized!
- @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 4e23a6bfeedf..6cad54c61d55 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -168,7 +168,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)
@@ -222,7 +222,7 @@ public:
virtual void RemoveXmlIdForElement(Metadatable const&) 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 fa34dc6e498a..d99041c5032e 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -278,10 +278,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
@@ -927,7 +927,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/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index d7a36c7aac37..83915fa0367e 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -1322,7 +1322,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent )
// Please fix this comment if you can: Note that the talk about "ODF version" around here is a
// bit silly, as there should be nothing ODF-specific in this code, right? What we mean, I
- // think, is "ODF version iff it is ODF that is the format the document is being stored as", and
+ // think, is "ODF version if it is ODF that is the format the document is being stored as", and
// otherwise the "ODF version" is ignored. Not sure why such format-specific things needs to be
// handled here. Digital signatures then complicate matters further, as it's only ODF 1.2 and
// OOXML that have digital signatures.
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);