summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_uri.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 7ddd1545e0b9..44b261047dd0 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -1926,7 +1926,7 @@ void Content::transfer(
if ( ( rInfo.SourceURL.getLength() < TDOC_URL_SCHEME_LENGTH + 2 ) )
{
- // Invaild length (to short).
+ // Invalid length (to short).
ucbhelper::cancelCommandExecution(
uno::makeAny( ucb::InteractiveBadTransferURLException(
OUString(),
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx
index 8698141c5491..a5eecc14156b 100644
--- a/ucb/source/ucp/tdoc/tdoc_uri.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx
@@ -49,7 +49,7 @@ void Uri::init() const
// Check for proper length: must be at least length of <sheme>:/
if ( ( m_aUri.getLength() < TDOC_URL_SCHEME_LENGTH + 2 ) )
{
- // Invaild length (to short).
+ // Invalid length (to short).
return;
}
@@ -58,7 +58,7 @@ void Uri::init() const
= m_aUri.copy( 0, TDOC_URL_SCHEME_LENGTH ).toAsciiLowerCase();
if ( aScheme != TDOC_URL_SCHEME )
{
- // Invaild scheme.
+ // Invalid scheme.
return;
}
@@ -67,13 +67,13 @@ void Uri::init() const
if ( m_aUri[ TDOC_URL_SCHEME_LENGTH ] != ':' )
{
- // Invaild (no ':' after <scheme>).
+ // Invalid (no ':' after <scheme>).
return;
}
if ( m_aUri[ TDOC_URL_SCHEME_LENGTH + 1 ] != '/' )
{
- // Invaild (no '/' after <scheme>:).
+ // Invalid (no '/' after <scheme>:).
return;
}