[Libreoffice-commits] core.git: framework/source qadevOOo/tests sw/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 8 07:31:44 UTC 2019


 framework/source/services/substitutepathvars.cxx             |    4 ++--
 qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java |    4 ++--
 sw/source/core/layout/frmtool.cxx                            |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 872487777f901540dffa3a85d48b803bf7dbfd03
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 8 08:16:13 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Aug 8 09:30:49 2019 +0200

    Fix typo
    
    "an usable"
    
    Change-Id: Ida4e945022bba17ce4ef17c4db627539ec9d86a1
    Reviewed-on: https://gerrit.libreoffice.org/77137
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 1836fa00e554..97c91ea9f9d3 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -248,7 +248,7 @@ OUString SubstitutePathVariables::GetWorkPath() const
     OUString aWorkPath;
     css::uno::Reference< css::container::XHierarchicalNameAccess > xPaths(officecfg::Office::Paths::Paths::get(m_xContext), css::uno::UNO_QUERY_THROW);
     if (!(xPaths->getByHierarchicalName("['Work']/WritePath") >>= aWorkPath))
-        // fallback in case config layer does not return an usable work dir value.
+        // fallback in case config layer does not return a usable work dir value.
         aWorkPath = GetWorkVariableValue();
 
     return aWorkPath;
@@ -261,7 +261,7 @@ OUString SubstitutePathVariables::GetWorkVariableValue() const
     if (!x)
     {
         // fallback to $HOME in case platform dependent config layer does not return
-        // an usable work dir value.
+        // a usable work dir value.
         osl::Security aSecurity;
         aSecurity.getHomeDir( aWorkPath );
     }
diff --git a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
index 5c8ee67f7951..39aabf688faa 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
@@ -184,7 +184,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
 
     /**
     * Method <code>getGroupColumns</code> returns a <code>XIndexAccess</code>
-    * Test has ok status if returned value is an usable <code>XIndexAccess</code>
+    * Test has ok status if returned value is a usable <code>XIndexAccess</code>
     */
     public void _getGroupColumns() {
         try{
@@ -268,7 +268,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
 
     /**
     * Method <code>getGroupColumns</code> returns a <code>XIndexAccess</code>
-    * Test has ok status if returned value is an usable <code>XIndexAccess</code>
+    * Test has ok status if returned value is a usable <code>XIndexAccess</code>
     */
     public void _getOrderColumns() {
         try{
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index 9bc74e575247..85bc858a5dbd 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1399,7 +1399,7 @@ void InsertCnt_( SwLayoutFrame *pLay, SwDoc *pDoc,
     //We'd like to think that 20 Paragraphs fit on one page.
     //So that it does not become in extreme situations so violent we calculate depending
     //on the node something to it.
-    //If in the DocStatistic an usable given pagenumber
+    //If in the DocStatistic a usable given pagenumber
     //(Will be cared for while writing), so it will be presumed that this will be
     //number of pages.
     const bool bStartPercent = bPages && !nEndIndex;


More information about the Libreoffice-commits mailing list