summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 15:28:34 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 12:57:18 +0000
commitf7eb8ae9d9cce3e493105da98cc4ace9c56a3062 (patch)
tree8ed42a0937013d927bbbb75afa62caa9866c15a6 /ucb
parent3c7652203cc381e5c8c06d42130ca3bae5576fd2 (diff)
Fix typos
Change-Id: Ieea40e1b7282267157810f9f58ca083e68ae6715 Reviewed-on: https://gerrit.libreoffice.org/35659 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/qa/complex/tdoc/_XTypeProvider.java2
-rw-r--r--ucb/source/core/ucbcmds.cxx2
-rw-r--r--ucb/source/ucp/file/filtask.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/ContentProperties.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx4
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx6
-rw-r--r--ucb/source/ucp/webdav/ContentProperties.cxx2
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx2
9 files changed, 12 insertions, 12 deletions
diff --git a/ucb/qa/complex/tdoc/_XTypeProvider.java b/ucb/qa/complex/tdoc/_XTypeProvider.java
index 506566dc4244..3d45ae798d5d 100644
--- a/ucb/qa/complex/tdoc/_XTypeProvider.java
+++ b/ucb/qa/complex/tdoc/_XTypeProvider.java
@@ -55,7 +55,7 @@ public class _XTypeProvider {
/**
- * ?alls the method and checks the return value.<p>
+ * Calls the method and checks the return value.<p>
* Has <b>OK</b> status if one of the return value equals to the
* type <code>com.sun.star.lang.XTypeProvider</code>.
*/
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index f288a60aec18..4f829ddf860f 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -1602,7 +1602,7 @@ void globalTransfer_(
}
}
-} /* namescpace */
+} /* namespace */
// UniversalContentBroker implementation ( XCommandProcessor commands ).
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index b64df364a9b6..fbe93ed955f8 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -2373,7 +2373,7 @@ TaskManager::commit( const TaskManager::ContentMap::iterator& it,
{
// extremely ugly, but otherwise default construction
// of aDirItem and aFileStatus2
- // before the preciding if
+ // before the preceding if
isVolume = osl::FileStatus::Volume == aFileStatus.getFileType();
isDirectory =
osl::FileStatus::Volume == aFileStatus.getFileType() ||
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx
index 190a499992d9..dd44ccee7b70 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx
@@ -583,7 +583,7 @@ ContentProvider::queryStorageTitle( const OUString & rUri ) const
else if ( aUri.isDocument() )
{
// for documents, title shall not be derived from URL. It shall
- // be somethimg more 'speaking' than just the document UID.
+ // be something more 'speaking' than just the document UID.
if ( m_xDocsMgr.is() )
aTitle = m_xDocsMgr->queryStorageTitle( aUri.getDocumentId() );
}
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
index a3bf1ec2fb76..f9cd24fd0e50 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx
@@ -488,7 +488,7 @@ void ContentProperties::addProperty( const OUString & rName,
OUString aValue;
rValue >>= aValue;
- // Map DAV:resourceype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
+ // Map DAV:resourcetype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
bool bFolder = aValue.equalsIgnoreAsciiCase( "collection" );
(*m_xProps)[ OUString("IsFolder") ]
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 7ba44b141657..7e21205e6b59 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -511,7 +511,7 @@ extern "C" void NeonSession_PreSendRequest( ne_request * req,
// If there is a proxy server in between, it shall never use
// cached data. We always want 'up-to-date' data.
ne_buffer_concat( headers, "Pragma: no-cache", EOL, nullptr );
- // alternative, but understoud by HTTP 1.1 servers only:
+ // alternative, but understood by HTTP 1.1 servers only:
// ne_buffer_concat( headers, "Cache-Control: max-age=0", EOL, NULL );
const RequestDataMap * pRequestData
@@ -892,7 +892,7 @@ void NeonSession::OPTIONS( const OUString & inPath,
// we detect the class (1, 2 and 3), other elements (token, URL)
// are not used for now
// silly parser written using OUString, not very efficient
- // but quick and esy to write...
+ // but quick and easy to write...
sal_Int32 nFromIndex = 0;
sal_Int32 nNextIndex = 0;
while( ( nNextIndex = aHeaderValue.indexOf( ",", nFromIndex ) ) != -1 )
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 34276231a975..929ae8627ef4 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -2293,7 +2293,7 @@ uno::Any Content::open(
}
xResAccess->setFlags( rArg.OpeningFlags );
- // fill inputsream sync; return if all data present
+ // fill inputstream sync; return if all data present
DAVResource aResource;
std::vector< OUString > aHeaders;
@@ -3872,7 +3872,7 @@ Content::ResourceType Content::getResourceType(
}
if ( e.getStatus() == SC_NOT_FOUND )
{
- // arrives here if OPTIONS is still cached for a resource prevously available
+ // arrives here if OPTIONS is still cached for a resource previously available
// operate on the OPTIONS cache:
// if OPTIONS was not found, do nothing
// else OPTIONS returned on a resource not existent (example a server that allows lock on null resource) set
@@ -4046,7 +4046,7 @@ void Content::getResourceOptions(
case DAVException::DAV_HTTP_CONNECT:
{
// something bad happened to the connection
- // not same as not found, this instead happens when the server does'n exist or does'n aswer at all
+ // not same as not found, this instead happens when the server doesn't exist or doesn't answer at all
// probably a new bit stating 'timed out' should be added to opts var?
// in any case abort the command
SAL_WARN( "ucb.ucp.webdav", "OPTIONS - DAVException: DAV_HTTP_TIMEOUT or DAV_HTTP_CONNECT for URL <" << m_xIdentifier->getContentIdentifier() << ">" );
diff --git a/ucb/source/ucp/webdav/ContentProperties.cxx b/ucb/source/ucp/webdav/ContentProperties.cxx
index 3f6b66ca5ebc..b43f58543782 100644
--- a/ucb/source/ucp/webdav/ContentProperties.cxx
+++ b/ucb/source/ucp/webdav/ContentProperties.cxx
@@ -509,7 +509,7 @@ void ContentProperties::addProperty( const OUString & rName,
OUString aValue;
rValue >>= aValue;
- // Map DAV:resourceype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
+ // Map DAV:resourcetype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
bool bFolder =
aValue.equalsIgnoreAsciiCase( "collection" );
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 6c72c3661655..125a099496ec 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -2147,7 +2147,7 @@ uno::Any Content::open(
new DAVResourceAccess( *m_xResAccess.get() ) );
}
- // fill inputsream sync; return if all data present
+ // fill inputstream sync; return if all data present
DAVResource aResource;
std::vector< OUString > aHeaders;