[Libreoffice-commits] core.git: tools/source ucb/qa ucb/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 13:01:05 UTC 2019


 tools/source/stream/stream.cxx                |    4 ++--
 ucb/qa/complex/tdoc/CheckContentProvider.java |    2 +-
 ucb/qa/complex/ucb/UCB.java                   |    2 +-
 ucb/source/core/provprox.cxx                  |    8 ++++----
 ucb/source/ucp/ext/ucpext_content.cxx         |    2 +-
 ucb/source/ucp/file/filglob.cxx               |    2 +-
 ucb/source/ucp/file/filtask.cxx               |    2 +-
 ucb/source/ucp/file/filtask.hxx               |    2 +-
 ucb/source/ucp/file/prov.hxx                  |    2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit e31a38ddfd183e98714c4082672eaafde431a4a9
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 12 14:30:55 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 14:59:57 2019 +0200

    Fix typos
    
    Change-Id: Ica726584fe2691c9803976d23cba16d7f2a1f4bd
    Reviewed-on: https://gerrit.libreoffice.org/77355
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 453073c61112..a793446ce738 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1893,7 +1893,7 @@ void SvMemoryStream::SetSize(sal_uInt64 const nNewSize)
     ReAllocateMemory( nDiff );
 }
 
-//Create a OString of nLen bytes from rStream
+//Create an OString of nLen bytes from rStream
 OString read_uInt8s_ToOString(SvStream& rStrm, std::size_t nLen)
 {
     rtl_String *pStr = nullptr;
@@ -1924,7 +1924,7 @@ OString read_uInt8s_ToOString(SvStream& rStrm, std::size_t nLen)
     return pStr ? OString(pStr, SAL_NO_ACQUIRE) : OString();
 }
 
-//Create a OUString of nLen sal_Unicode code units from rStream
+//Create an OUString of nLen sal_Unicode code units from rStream
 OUString read_uInt16s_ToOUString(SvStream& rStrm, std::size_t nLen)
 {
     rtl_uString *pStr = nullptr;
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;


More information about the Libreoffice-commits mailing list