[Libreoffice-commits] core.git: sc/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 09:35:49 UTC 2019


 sc/source/ui/app/transobj.cxx                      |    2 +-
 sc/source/ui/docshell/docfunc.cxx                  |    2 +-
 sc/source/ui/docshell/docsh8.cxx                   |    2 +-
 sc/source/ui/drawfunc/fudraw.cxx                   |    8 ++++----
 sc/source/ui/inc/AccessibleCellBase.hxx            |    2 +-
 sc/source/ui/inc/AccessibleContextBase.hxx         |    2 +-
 sc/source/ui/inc/AccessibleDocument.hxx            |    2 +-
 sc/source/ui/inc/AccessibleDocumentPagePreview.hxx |    2 +-
 sc/source/ui/inc/AccessibleEditObject.hxx          |    2 +-
 sc/source/ui/inc/AccessiblePageHeaderArea.hxx      |    2 +-
 10 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 3cbada0fb862a533eb70d714900674d16f9b4054
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 18:47:52 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 11:34:52 2019 +0200

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

diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index dfa3d47cf8e9..88d5637222e5 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -381,7 +381,7 @@ bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor, const OUSt
             }
             else if ( rFlavor.DataType.equals( cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ) )
             {
-                //  SetObject converts a stream into a Int8-Sequence
+                //  SetObject converts a stream into an Int8-Sequence
                 bOK = SetObject( &aObj, SCTRANS_TYPE_IMPEX, rFlavor );
             }
             else
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index adbee4bee4d1..998a160f88bc 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -4928,7 +4928,7 @@ bool ScDocFunc::MergeCells( const ScCellMergeOption& rOption, bool bContents, bo
                              : rDoc.IsBlockEmpty( nTab, nStartCol,nStartRow+1, nStartCol,nEndRow, true ) &&
                                rDoc.IsBlockEmpty( nTab, nStartCol+1,nStartRow, nEndCol,nEndRow, true );
         bool bNeedContents = bContents && !bIsBlockEmpty;
-        bool bNeedEmpty = bEmptyMergedCells && !bIsBlockEmpty && !bNeedContents; // if DoMergeContents then cells are emptyed
+        bool bNeedEmpty = bEmptyMergedCells && !bIsBlockEmpty && !bNeedContents; // if DoMergeContents then cells are emptied
 
         if (bRecord)
         {
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index 33390347f944..a9cf9445772a 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -121,7 +121,7 @@ namespace
         const OUString aConnUrl{"sdbc:dbase:" + aPath};
 
         // sdbc:dbase is based on the css.sdbc.FILEConnectionProperties UNOIDL service, so we can
-        // transport the raw rtl_TextEncoding value instead of having to translate it into a IANA
+        // transport the raw rtl_TextEncoding value instead of having to translate it into an IANA
         // character set name string (which might not exist for certain eCharSet values, like
         // RTL_TEXTENCODING_MS_950):
         uno::Sequence<beans::PropertyValue> aProps( comphelper::InitPropertySequence({
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 383d03c01c04..bc9657066059 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -253,7 +253,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
         case KEY_TAB:
         {
             // in calc do NOT start draw object selection using TAB/SHIFT-TAB when
-            // there is not yet a object selected
+            // there is not yet an object selected
             if(pView->AreObjectsMarked())
             {
                 vcl::KeyCode aCode = rKEvt.GetKeyCode();
@@ -309,7 +309,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
         case KEY_END:
         {
             // in calc do NOT select the last draw object when
-            // there is not yet a object selected
+            // there is not yet an object selected
             if(pView->AreObjectsMarked())
             {
                 vcl::KeyCode aCode = rKEvt.GetKeyCode();
@@ -333,7 +333,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
         case KEY_HOME:
         {
             // in calc do NOT select the first draw object when
-            // there is not yet a object selected
+            // there is not yet an object selected
             if(pView->AreObjectsMarked())
             {
                 vcl::KeyCode aCode = rKEvt.GetKeyCode();
@@ -360,7 +360,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
         case KEY_RIGHT:
         {
             // in calc do cursor travelling of draw objects only when
-            // there is a object selected yet
+            // there is an object selected yet
             if(pView->AreObjectsMarked())
             {
 
diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx
index 5e6aa51ba7d8..13c234dd5fe1 100644
--- a/sc/source/ui/inc/AccessibleCellBase.hxx
+++ b/sc/source/ui/inc/AccessibleCellBase.hxx
@@ -103,7 +103,7 @@ public:
     virtual css::uno::Sequence< css::uno::Type > SAL_CALL
         getTypes() override;
 
-    /** Returns a implementation id.
+    /** Returns an implementation id.
     */
     virtual css::uno::Sequence<sal_Int8> SAL_CALL
         getImplementationId() override;
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index ec2f5dae1feb..fd9d54250617 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -208,7 +208,7 @@ public:
     virtual css::uno::Sequence< css::uno::Type > SAL_CALL
         getTypes() override;
 
-    /** Returns a implementation id.
+    /** Returns an implementation id.
     */
     virtual css::uno::Sequence<sal_Int8> SAL_CALL
         getImplementationId() override;
diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx
index c3441465121c..2cf9db6a5c89 100644
--- a/sc/source/ui/inc/AccessibleDocument.hxx
+++ b/sc/source/ui/inc/AccessibleDocument.hxx
@@ -164,7 +164,7 @@ public:
     virtual css::uno::Sequence< css::uno::Type > SAL_CALL
         getTypes() override;
 
-    /** Returns a implementation id.
+    /** Returns an implementation id.
     */
     virtual css::uno::Sequence<sal_Int8> SAL_CALL
         getImplementationId() override;
diff --git a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
index 3532c36549de..a433c46debc1 100644
--- a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
+++ b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
@@ -91,7 +91,7 @@ public:
 
     ///=====  XTypeProvider  ===================================================
 
-    /** Returns a implementation id.
+    /** Returns an implementation id.
     */
     virtual css::uno::Sequence<sal_Int8> SAL_CALL
         getImplementationId() override;
diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx
index ebbd8c62a3a4..52155f477470 100644
--- a/sc/source/ui/inc/AccessibleEditObject.hxx
+++ b/sc/source/ui/inc/AccessibleEditObject.hxx
@@ -165,7 +165,7 @@ public:
 
     ///=====  XTypeProvider  ===================================================
 
-    /** Returns a implementation id.
+    /** Returns an implementation id.
     */
     virtual css::uno::Sequence<sal_Int8> SAL_CALL
         getImplementationId() override;
diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
index b29ca101098c..572100c5a80d 100644
--- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
+++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
@@ -90,7 +90,7 @@ public:
 
     ///=====  XTypeProvider  ===================================================
 
-    /** Returns a implementation id.
+    /** Returns an implementation id.
     */
     virtual css::uno::Sequence<sal_Int8> SAL_CALL
         getImplementationId() override;


More information about the Libreoffice-commits mailing list