summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
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/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 6076eb1513d9..2b4f3535dfb6 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 if caller should retry
+ @returns true iff 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 6cad54c61d55..4e23a6bfeedf 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -168,7 +168,7 @@ public:
</p>
@returns
- true if the element has successfully been registered
+ true iff 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 if i_bCopyPrecedesSource is true */
+ with precedence iff 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 d99041c5032e..fa34dc6e498a 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 if not equal to existing text
+ /// set text of standard meta data element iff not equal to existing text
bool SAL_CALL setMetaText(const char* i_name,
const OUString & i_rValue);
- /// set text of standard meta data element if not equal to existing text
+ /// set text of standard meta data element iff 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 if i_pAttrs != 0 insert new one
+// remove the given element from the DOM, and iff 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 83915fa0367e..d7a36c7aac37 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 if it is ODF that is the format the document is being stored as", and
+ // think, is "ODF version iff 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 163c2af30e36..42013cd70609 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 if execution was successful
+/// @return true iff execution was successful
bool openUriExternally(
OUString const & uri, bool handleSystemShellExecuteException);