summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Components
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-05-06 18:49:34 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-05-07 07:42:35 +0200
commit971eb758132994b5dfacf0af456fbb96f1863534 (patch)
tree30419483f19670920a6bb848a6600d641076d5a3 /odk/examples/DevelopersGuide/Components
parentb420a5cd2424d2fc5efa3fcc395d14366f4b2773 (diff)
odk/examples: grammar fixes
Also remove outdated comment related to RTL_CONSTASCII_STRINGPARAM (only the first line was removed in the past) Change-Id: Iebef1bf83ab049a96c846e714cb700df4dacd878 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167233 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'odk/examples/DevelopersGuide/Components')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx
index 426caaf361b81..943bf623d109a 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx
+++ b/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/addon.cxx
@@ -108,7 +108,7 @@ void SAL_CALL Addon::initialize( const Sequence< Any >& aArguments )
/**
* Called by the Office framework.
- * We are ask to query the given URL and return a dispatch object if the URL
+ * We are asked to query the given URL and return a dispatch object if the URL
* contains an Add-On command.
*/
Reference< XDispatch > SAL_CALL Addon::queryDispatch( const URL& aURL, const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags )
@@ -129,7 +129,7 @@ Reference< XDispatch > SAL_CALL Addon::queryDispatch( const URL& aURL, const ::r
/**
* Called by the Office framework.
- * We are ask to execute the given Add-On command URL.
+ * We are asked to execute the given Add-On command URL.
*/
void SAL_CALL Addon::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs )
{
@@ -159,7 +159,7 @@ void SAL_CALL Addon::dispatch( const URL& aURL, const Sequence < PropertyValue >
/**
* Called by the Office framework.
- * We are ask to query the given sequence of URLs and return dispatch objects if the URLs
+ * We are asked to query the given sequence of URLs and return dispatch objects if the URLs
* contain Add-On commands.
*/
Sequence < Reference< XDispatch > > SAL_CALL Addon::queryDispatches( const Sequence < DispatchDescriptor >& seqDescripts )
@@ -175,7 +175,7 @@ Sequence < Reference< XDispatch > > SAL_CALL Addon::queryDispatches( const Seque
/**
* Called by the Office framework.
- * We are ask to query the given sequence of URLs and return dispatch objects if the URLs
+ * We are asked to query the given sequence of URLs and return dispatch objects if the URLs
* contain Add-On commands.
*/
void SAL_CALL Addon::addStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL )
@@ -184,7 +184,7 @@ void SAL_CALL Addon::addStatusListener( const Reference< XStatusListener >& xCon
/**
* Called by the Office framework.
- * We are ask to query the given sequence of URLs and return dispatch objects if the URLs
+ * We are asked to query the given sequence of URLs and return dispatch objects if the URLs
* contain Add-On commands.
*/
void SAL_CALL Addon::removeStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL )