[Libreoffice-commits] core.git: ucb/source unodevtools/source uui/source vcl/inc vcl/README vcl/README.lifecycle vcl/README.scheduler

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 9 16:03:15 UTC 2019


 ucb/source/ucp/tdoc/tdoc_docmgr.cxx                  |    2 +-
 ucb/source/ucp/tdoc/tdoc_uri.cxx                     |    2 +-
 ucb/source/ucp/webdav-neon/ContentProperties.hxx     |    2 +-
 ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx     |    2 +-
 ucb/source/ucp/webdav-neon/webdavcontent.cxx         |    4 ++--
 ucb/source/ucp/webdav/ContentProperties.hxx          |    2 +-
 ucb/source/ucp/webdav/webdavcontent.cxx              |    4 ++--
 unodevtools/source/skeletonmaker/cppcompskeleton.cxx |    4 ++--
 uui/source/fltdlg.cxx                                |    4 ++--
 vcl/README                                           |    4 ++--
 vcl/README.lifecycle                                 |    2 +-
 vcl/README.scheduler                                 |    2 +-
 vcl/inc/salframe.hxx                                 |    2 +-
 13 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit e6c036915b75cd5c81323e337a8604701b869052
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 9 17:13:59 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Aug 9 18:02:08 2019 +0200

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

diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index ab08a355e9c8..2600189d8c06 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -233,7 +233,7 @@ void SAL_CALL OfficeDocumentsManager::documentEventOccured(
             // Document has been closed (unloaded)
 
             // Official event "OnUnload" does not work here. Event
-            // gets fired to early. Other OnUnload listeners called after this
+            // gets fired too early. Other OnUnload listeners called after this
             // listener may still need TDOC access to the document. Remove the
             // document from TDOC docs list on XCloseListener::notifyClosing.
             // See OfficeDocumentsManager::OfficeDocumentsListener::notifyClosing.
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx
index 4c65da63b2b3..82dca8080d6f 100644
--- a/ucb/source/ucp/tdoc/tdoc_uri.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx
@@ -43,7 +43,7 @@ void Uri::init() const
 
     m_eState = INVALID;
 
-    // Check for proper length: must be at least length of <sheme>:/
+    // Check for proper length: must be at least length of <scheme>:/
     if ( m_aUri.getLength() < TDOC_URL_SCHEME_LENGTH + 2 )
     {
         // Invalid length (to short).
diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.hxx b/ucb/source/ucp/webdav-neon/ContentProperties.hxx
index 49996c9f53e4..2fa1cc2ba24f 100644
--- a/ucb/source/ucp/webdav-neon/ContentProperties.hxx
+++ b/ucb/source/ucp/webdav-neon/ContentProperties.hxx
@@ -110,7 +110,7 @@ public:
                                     std::vector< OUString > & resources );
 
     // return true, if all properties contained in rProps are contained in
-    // this ContentProperties instance. Otherwiese, false will be returned.
+    // this ContentProperties instance. Otherwise, false will be returned.
     // rNamesNotContained contain the missing names.
     bool containsAllNames(
                     const css::uno::Sequence< css::beans::Property >& rProps,
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
index 905c78518a5f..fa2a36483891 100644
--- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
@@ -1115,7 +1115,7 @@ bool DAVResourceAccess::detectRedirectCycle(
 
     // Check for maximum number of redirections
     // according to <https://tools.ietf.org/html/rfc7231#section-6.4>.
-    // A pratical limit may be 5, due to earlier specifications:
+    // A practical limit may be 5, due to earlier specifications:
     // <https://tools.ietf.org/html/rfc2068#section-10.3>
     // it can be raised keeping in mind the added net activity.
     if( static_cast< size_t >( g_nRedirectLimit ) <= m_aRedirectURIs.size() )
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index e9f5e4a761a2..92534b376201 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -241,7 +241,7 @@ Content::Content(
 }
 
 
-// ctr for content on an non-existing webdav resource
+// ctr for content on a non-existing webdav resource
 Content::Content(
             const uno::Reference< uno::XComponentContext >& rxContext,
             ContentProvider* pProvider,
@@ -1977,7 +1977,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
             for ( const auto& rProppatchValue : aProppatchValues )
             {
                 aEvent.PropertyName = rProppatchValue.name;
-                aEvent.OldValue     = uno::Any(); // @@@ to expensive to obtain!
+                aEvent.OldValue     = uno::Any(); // @@@ too expensive to obtain!
                 aEvent.NewValue     = rProppatchValue.value;
 
                 aChanges.getArray()[ nChanged ] = aEvent;
diff --git a/ucb/source/ucp/webdav/ContentProperties.hxx b/ucb/source/ucp/webdav/ContentProperties.hxx
index 1f98a49d6d48..0c6347c57a29 100644
--- a/ucb/source/ucp/webdav/ContentProperties.hxx
+++ b/ucb/source/ucp/webdav/ContentProperties.hxx
@@ -102,7 +102,7 @@ public:
                                     bool bIncludeUnmatched = true );
 
     // return true, if all properties contained in rProps are contained in
-    // this ContentProperties instance. Otherwiese, false will be returned.
+    // this ContentProperties instance. Otherwise, false will be returned.
     // rNamesNotContained contain the missing names.
     bool containsAllNames(
                     const css::uno::Sequence< css::beans::Property >& rProps,
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index eb522416545f..e880695656d0 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -221,7 +221,7 @@ Content::Content(
 }
 
 
-// ctr for content on an non-existing webdav resource
+// ctr for content on a non-existing webdav resource
 Content::Content(
             const uno::Reference< uno::XComponentContext >& rxContext,
             ContentProvider* pProvider,
@@ -1843,7 +1843,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
             for ( const auto& rProppatchValue : aProppatchValues )
             {
                 aEvent.PropertyName = rProppatchValue.name;
-                aEvent.OldValue     = uno::Any(); // @@@ to expensive to obtain!
+                aEvent.OldValue     = uno::Any(); // @@@ too expensive to obtain!
                 aEvent.NewValue     = rProppatchValue.value;
 
                 aChanges.getArray()[ nChanged ] = aEvent;
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index 2d0eb0d3e45f..8ea19cbead94 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -944,7 +944,7 @@ void generateSkeleton(ProgramOptions const & options,
     }
 
     if (options.componenttype == 3) {
-        // the Protocolhandler service is mandatory for an protocol handler add-on,
+        // the Protocolhandler service is mandatory for a protocol handler add-on,
         // so it is defaulted. The XDispatchProvider provides Dispatch objects for
         // certain functions and the generated impl object implements XDispatch
         // directly for simplicity reasons.
@@ -1093,7 +1093,7 @@ void generateCalcAddin(ProgramOptions const & options,
     // if backwardcompatible==true the AddIn service needs to be added to the
     // supported service list, the necessary intefaces are mapped to the add-in
     // configuration. Since OO.org 2.0.4 this is obsolete and the add-in is
-    // take form the configuration from Calc directly, this simplifies the
+    // taken from the configuration from Calc directly, this simplifies the
     // add-in code
     if (options.backwardcompatible) {
         checkType(manager, "com.sun.star.sheet.AddIn",
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx
index a746c087473f..dec3a798b0d2 100644
--- a/uui/source/fltdlg.cxx
+++ b/uui/source/fltdlg.cxx
@@ -189,11 +189,11 @@ OUString FilterDialog::impl_buildUIFileName( const OUString& sName )
     if (osl::FileBase::getSystemPathFromFileURL(sName, sShortName) == osl::FileBase::E_None)
 
     {
-        // it's a system file ... build short name by using osl functionality
+        // it's a system file... build short name by using osl functionality
     }
     else
     {
-        // otherwise its really a url ... build short name by using INetURLObject
+        // otherwise it's really a URL... build short name by using INetURLObject
         css::uno::Reference< css::util::XStringWidth > xStringCalculator(new StringCalculator(m_xFtURL.get()));
         if( xStringCalculator.is() )
         {
diff --git a/vcl/README b/vcl/README
index 6ee9dad11e80..d37ffe9e8407 100644
--- a/vcl/README
+++ b/vcl/README
@@ -110,7 +110,7 @@ emf/wmf is translated to GDIMetafile in import filter
 vcl/source/filter/wmf and so special handling ends here
 
 emf+ is encapsulated into GDIMetafile inside comment records and
-parsed/rendered later, when it reaches cppcanvas. it is parsed and
+parsed/rendered later, when it reaches cppcanvas. It is parsed and
 rendered in cppcanvas/source/mtfrenderer. also note that there are
 emf+-only and emf+-dual files. dual files contains both types of
 records (emf and emf+) for rendering the images. these can used also
@@ -196,7 +196,7 @@ compression is disabled (so the PDF file is directly readable) and
 the MARK function puts comments into the PDF file about which method
 generated the following PDF content.
 
-The compression can be disabled even using a env. var:
+The compression can be disabled even using an env. var:
 
 export VCL_DEBUG_DISABLE_PDFCOMPRESSION=1
 
diff --git a/vcl/README.lifecycle b/vcl/README.lifecycle
index d9d186425b64..c7dc05812b03 100644
--- a/vcl/README.lifecycle
+++ b/vcl/README.lifecycle
@@ -30,7 +30,7 @@ between calls:
 		Update();
 
 	Unfortunately use of such protection is/was ad-hoc, and far
-from uniform, despite the prevelance of such potential problems.
+from uniform, despite the prevalence of such potential problems.
 
 	When a lifecycle problem was hit, typically it would take the
 form of accessing memory that had been freed, and contained garbage due
diff --git a/vcl/README.scheduler b/vcl/README.scheduler
index 23decf3b7ec2..56be76913781 100644
--- a/vcl/README.scheduler
+++ b/vcl/README.scheduler
@@ -162,7 +162,7 @@ loop.
 == General: invalidation of elapsed timer event messages ==
 
 Since the system timer to run the scheduler is single-shot, there should never
-be more then one elapsed timer event in system event queue. When stopping or
+be more than one elapsed timer event in system event queue. When stopping or
 restarting the timer, we eventually have to remove the now invalid event from
 the queue.
 
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx
index 19293b913621..e190d3e758b5 100644
--- a/vcl/inc/salframe.hxx
+++ b/vcl/inc/salframe.hxx
@@ -282,7 +282,7 @@ public:
 
     virtual weld::Window*   GetFrameWeld() const;
 
-    // Callbacks (indepent part in vcl/source/window/winproc.cxx)
+    // Callbacks (independent part in vcl/source/window/winproc.cxx)
     // for default message handling return 0
     void                    SetCallback( vcl::Window* pWindow, SALFRAMEPROC pProc );
 


More information about the Libreoffice-commits mailing list