From 2a65bf32ec270484dcea4d22d3c93552dc0c24dd Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 23 Jun 2015 20:42:27 +0200 Subject: Revert "Typo: iff->if" This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo --- 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/source') diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx index a29b22c0d0f2..228f57878a34 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 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 9f253e5811fa..59dfb8a2d2ac 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -175,7 +175,7 @@ public:

    @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) @@ -229,7 +229,7 @@ public: virtual void RemoveXmlIdForElement(Metadatable const&) SAL_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 2c681be3535b..54b4a905f88a 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 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 @@ -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 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 >* i_pAttrs) 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); -- cgit