summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-01-02 15:51:30 +0100
committerEike Rathke <erack@redhat.com>2015-01-02 20:23:51 +0000
commit3a2b1af87d629a780f0e98559fb8b409378a80c7 (patch)
treeecf27171a38a2d6d4b05b4acd42e8e98b7f7d70a /ucb
parentd7794d2584cd5d476b011b5344c77ad59c179c58 (diff)
Fix simple typos.
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
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;
}