From cf92da3d6e1de14756efe3f1ee79f393a2f3787d Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 23 Jun 2015 20:30:11 +0200 Subject: Typo: iff->if Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3 --- sfx2/source/doc/DocumentMetadataAccess.cxx | 2 +- sfx2/source/doc/Metadatable.cxx | 4 ++-- sfx2/source/doc/SfxDocumentMetaData.cxx | 6 +++--- sfx2/source/inc/openuriexternally.hxx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'sfx2') 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,
  • ignore the error and continue
  • retry the action that led to the error
  • 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:

    @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 & 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 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 >* 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); -- cgit