summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-09 17:13:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-09 18:02:08 +0200
commite6c036915b75cd5c81323e337a8604701b869052 (patch)
tree75eb436ed26dcffbbc9659206b35436bc13fe6f9 /ucb
parentb8c87fa294678180191588134b9e9c7993a659fc (diff)
Fix typos
Change-Id: Ie63c7b2d8bf9579b7b41d7bae515818c8d5706dc Reviewed-on: https://gerrit.libreoffice.org/77217 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_uri.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/ContentProperties.hxx2
-rw-r--r--ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx4
-rw-r--r--ucb/source/ucp/webdav/ContentProperties.hxx2
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx4
7 files changed, 9 insertions, 9 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index ab08a355e9c8..2600189d8c06 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -233,7 +233,7 @@ void SAL_CALL OfficeDocumentsManager::documentEventOccured(
// Document has been closed (unloaded)
// Official event "OnUnload" does not work here. Event
- // gets fired to early. Other OnUnload listeners called after this
+ // gets fired too early. Other OnUnload listeners called after this
// listener may still need TDOC access to the document. Remove the
// document from TDOC docs list on XCloseListener::notifyClosing.
// See OfficeDocumentsManager::OfficeDocumentsListener::notifyClosing.
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx
index 4c65da63b2b3..82dca8080d6f 100644
--- a/ucb/source/ucp/tdoc/tdoc_uri.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx
@@ -43,7 +43,7 @@ void Uri::init() const
m_eState = INVALID;
- // Check for proper length: must be at least length of <sheme>:/
+ // Check for proper length: must be at least length of <scheme>:/
if ( m_aUri.getLength() < TDOC_URL_SCHEME_LENGTH + 2 )
{
// Invalid length (to short).
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.hxx b/ucb/source/ucp/webdav-neon/ContentProperties.hxx
index 49996c9f53e4..2fa1cc2ba24f 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.hxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.hxx
@@ -110,7 +110,7 @@ public:
std::vector< OUString > & resources );
// return true, if all properties contained in rProps are contained in
- // this ContentProperties instance. Otherwiese, false will be returned.
+ // this ContentProperties instance. Otherwise, false will be returned.
// rNamesNotContained contain the missing names.
bool containsAllNames(
const css::uno::Sequence< css::beans::Property >& rProps,
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
index 905c78518a5f..fa2a36483891 100644
--- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
@@ -1115,7 +1115,7 @@ bool DAVResourceAccess::detectRedirectCycle(
// Check for maximum number of redirections
// according to <https://tools.ietf.org/html/rfc7231#section-6.4>.
- // A pratical limit may be 5, due to earlier specifications:
+ // A practical limit may be 5, due to earlier specifications:
// <https://tools.ietf.org/html/rfc2068#section-10.3>
// it can be raised keeping in mind the added net activity.
if( static_cast< size_t >( g_nRedirectLimit ) <= m_aRedirectURIs.size() )
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index e9f5e4a761a2..92534b376201 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -241,7 +241,7 @@ Content::Content(
}
-// ctr for content on an non-existing webdav resource
+// ctr for content on a non-existing webdav resource
Content::Content(
const uno::Reference< uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
@@ -1977,7 +1977,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
for ( const auto& rProppatchValue : aProppatchValues )
{
aEvent.PropertyName = rProppatchValue.name;
- aEvent.OldValue = uno::Any(); // @@@ to expensive to obtain!
+ aEvent.OldValue = uno::Any(); // @@@ too expensive to obtain!
aEvent.NewValue = rProppatchValue.value;
aChanges.getArray()[ nChanged ] = aEvent;
diff --git a/ucb/source/ucp/webdav/ContentProperties.hxx b/ucb/source/ucp/webdav/ContentProperties.hxx
index 1f98a49d6d48..0c6347c57a29 100644
--- a/ucb/source/ucp/webdav/ContentProperties.hxx
+++ b/ucb/source/ucp/webdav/ContentProperties.hxx
@@ -102,7 +102,7 @@ public:
bool bIncludeUnmatched = true );
// return true, if all properties contained in rProps are contained in
- // this ContentProperties instance. Otherwiese, false will be returned.
+ // this ContentProperties instance. Otherwise, false will be returned.
// rNamesNotContained contain the missing names.
bool containsAllNames(
const css::uno::Sequence< css::beans::Property >& rProps,
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index eb522416545f..e880695656d0 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -221,7 +221,7 @@ Content::Content(
}
-// ctr for content on an non-existing webdav resource
+// ctr for content on a non-existing webdav resource
Content::Content(
const uno::Reference< uno::XComponentContext >& rxContext,
ContentProvider* pProvider,
@@ -1843,7 +1843,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
for ( const auto& rProppatchValue : aProppatchValues )
{
aEvent.PropertyName = rProppatchValue.name;
- aEvent.OldValue = uno::Any(); // @@@ to expensive to obtain!
+ aEvent.OldValue = uno::Any(); // @@@ too expensive to obtain!
aEvent.NewValue = rProppatchValue.value;
aChanges.getArray()[ nChanged ] = aEvent;