From 3a2b1af87d629a780f0e98559fb8b409378a80c7 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 2 Jan 2015 15:51:30 +0100 Subject: Fix simple typos. Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- ucb/source/ucp/tdoc/tdoc_content.cxx | 2 +- ucb/source/ucp/tdoc/tdoc_uri.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ucb') 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 :/ 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 ). + // Invalid (no ':' after ). return; } if ( m_aUri[ TDOC_URL_SCHEME_LENGTH + 1 ] != '/' ) { - // Invaild (no '/' after :). + // Invalid (no '/' after :). return; } -- cgit v1.2.3