summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-12 14:30:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 14:59:57 +0200
commite31a38ddfd183e98714c4082672eaafde431a4a9 (patch)
tree387a4c3efc2d848064507ea3490c914b825e2881 /ucb
parente6d3aab382bc5aabf85be09f8f7a530583e80932 (diff)
Fix typos
Change-Id: Ica726584fe2691c9803976d23cba16d7f2a1f4bd Reviewed-on: https://gerrit.libreoffice.org/77355 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/CheckContentProvider.java2
-rw-r--r--ucb/qa/complex/ucb/UCB.java2
-rw-r--r--ucb/source/core/provprox.cxx8
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx2
-rw-r--r--ucb/source/ucp/file/filglob.cxx2
-rw-r--r--ucb/source/ucp/file/filtask.cxx2
-rw-r--r--ucb/source/ucp/file/filtask.hxx2
-rw-r--r--ucb/source/ucp/file/prov.hxx2
8 files changed, 11 insertions, 11 deletions
diff --git a/ucb/qa/complex/tdoc/CheckContentProvider.java b/ucb/qa/complex/tdoc/CheckContentProvider.java
index 2214ff53aa0f..56445712e85f 100644
--- a/ucb/qa/complex/tdoc/CheckContentProvider.java
+++ b/ucb/qa/complex/tdoc/CheckContentProvider.java
@@ -282,7 +282,7 @@ public class CheckContentProvider {
assertNotNull("getImplementationId()", xTypeProvider._getImplementationId());
assertNotNull("getTypes()", xTypeProvider._getTypes());
- // check the XSewrviceInfo interface
+ // check the XServiceInfo interface
_XServiceInfo xServiceInfo = new _XServiceInfo();
_XServiceInfo.oObj = UnoRuntime.queryInterface(XServiceInfo.class, xContent);
// xServiceInfo.log = log;
diff --git a/ucb/qa/complex/ucb/UCB.java b/ucb/qa/complex/ucb/UCB.java
index ddaac8790297..f403beee4c93 100644
--- a/ucb/qa/complex/ucb/UCB.java
+++ b/ucb/qa/complex/ucb/UCB.java
@@ -32,7 +32,7 @@ import static org.junit.Assert.*;
/**
* This class is used to copy the content of a folder to
* another folder.
- * There is an incosistency with argument order.
+ * There is an inconsistency with argument order.
* It should be always: dir,filename.
*/
public class UCB {
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx
index 034b33036250..30beefcc2de1 100644
--- a/ucb/source/core/provprox.cxx
+++ b/ucb/source/core/provprox.cxx
@@ -131,7 +131,7 @@ UcbContentProviderProxy::queryInterface( const Type & rType )
if ( !aRet.hasValue() )
{
- // Get original provider an forward the call...
+ // Get original provider and forward the call...
osl::Guard< osl::Mutex > aGuard( m_aMutex );
Reference< XContentProvider > xProvider = getContentProvider();
if ( xProvider.is() )
@@ -150,7 +150,7 @@ XTYPEPROVIDER_COMMON_IMPL( UcbContentProviderProxy );
Sequence< Type > SAL_CALL UcbContentProviderProxy::getTypes()
{
- // Get original provider an forward the call...
+ // Get original provider and forward the call...
osl::Guard< osl::Mutex > aGuard( m_aMutex );
Reference< XTypeProvider > xProvider( getContentProvider(), UNO_QUERY );
if ( xProvider.is() )
@@ -195,7 +195,7 @@ css::uno::Sequence< OUString > SAL_CALL UcbContentProviderProxy::getSupportedSer
Reference< XContent > SAL_CALL UcbContentProviderProxy::queryContent(
const Reference< XContentIdentifier >& Identifier )
{
- // Get original provider an forward the call...
+ // Get original provider and forward the call...
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -212,7 +212,7 @@ sal_Int32 SAL_CALL UcbContentProviderProxy::compareContentIds(
const Reference< XContentIdentifier >& Id1,
const Reference< XContentIdentifier >& Id2 )
{
- // Get original provider an forward the call...
+ // Get original provider and forward the call...
osl::Guard< osl::Mutex > aGuard( m_aMutex );
Reference< XContentProvider > xProvider = getContentProvider();
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 3610291504cf..fcee9b022e68 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -442,7 +442,7 @@ namespace ucb { namespace ucp { namespace ext
{
ENSURE_OR_RETURN( m_eExtContentType != E_ROOT, "illegal call", OUString() );
- // create an ucb::XContent for the physical file within the deployed extension
+ // create a ucb::XContent for the physical file within the deployed extension
const Reference< XPackageInformationProvider > xPackageInfo = PackageInformationProvider::get(m_xContext);
const OUString sPackageLocation( xPackageInfo->getPackageLocation( m_sExtensionId ) );
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index e7c96e49f62f..679c79a36f16 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -380,7 +380,7 @@ namespace fileaccess {
ioErrorCode = IOErrorCode_NOT_EXISTING;
break;
case FileBase::E_NOTDIR:
- // the specified path is not an directory
+ // the specified path is not a directory
ioErrorCode = IOErrorCode_NO_DIRECTORY;
break;
case FileBase::E_NOMEM:
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index 058ad0e5f76f..432d18b4bb9a 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -2143,7 +2143,7 @@ bool TaskManager::ensuredir( sal_Int32 CommandId,
// Given a sequence of properties seq, this method determines the mask
-// used to instantiate a osl::FileStatus, so that a call to
+// used to instantiate an osl::FileStatus, so that a call to
// osl::DirectoryItem::getFileStatus fills the required fields.
diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx
index 45646ee59a0c..c57ed1978c8a 100644
--- a/ucb/source/ucp/file/filtask.hxx
+++ b/ucb/source/ucp/file/filtask.hxx
@@ -605,7 +605,7 @@ namespace fileaccess
/**
* Given a Sequence of properties seq, this method determines the mask
- * used to instantiate a osl::FileStatus, so that a call to
+ * used to instantiate an osl::FileStatus, so that a call to
* osl::DirectoryItem::getFileStatus fills the required fields.
*/
diff --git a/ucb/source/ucp/file/prov.hxx b/ucb/source/ucp/file/prov.hxx
index 30979e275c3c..35619b44c6fd 100644
--- a/ucb/source/ucp/file/prov.hxx
+++ b/ucb/source/ucp/file/prov.hxx
@@ -104,7 +104,7 @@ namespace fileaccess {
const css::uno::Reference< css::ucb::XContentIdentifier >& Id1,
const css::uno::Reference< css::ucb::XContentIdentifier >& Id2 ) override;
- // XProperySet
+ // XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( ) override;