[Libreoffice-commits] core.git: chart2/source sc/source sd/source sfx2/source svx/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Jul 7 05:31:22 UTC 2018


 chart2/source/controller/drawinglayer/DrawViewWrapper.cxx |    4 ++--
 sc/source/ui/view/dbfunc3.cxx                             |    2 +-
 sd/source/ui/view/ViewShellBase.cxx                       |    2 +-
 sfx2/source/doc/objstor.cxx                               |    2 +-
 svx/source/svdraw/svdobj.cxx                              |    2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit d5c6087979a6a01c16eff6dab15b4b94770a2c14
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Jun 29 13:57:11 2018 +0200

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

diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
index 6330becfeb64..dce41b6a9de4 100644
--- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
@@ -84,8 +84,8 @@ SfxObjectShell * lcl_GetParentObjectShell( const uno::Reference< frame::XModel >
     return pResult;
 }
 
-// this code is copied from sfx2/source/doc/objembed.cxx.  It is a workaround to
-// get the reference device (e.g. printer) fromthe parent document
+// this code is copied from sfx2/source/doc/objembed.cxx. It is a workaround to
+// get the reference device (e.g. printer) from the parent document
 OutputDevice * lcl_GetParentRefDevice( const uno::Reference< frame::XModel > & xModel )
 {
     SfxObjectShell * pParent = lcl_GetParentObjectShell( xModel );
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 7474f22bbac4..6350e235f8f9 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -474,7 +474,7 @@ void ScDBFunc::DoSubTotals( const ScSubTotalParam& rParam, bool bRecord,
             rDoc.CopyToDocument( 0,0,0, MAXCOL,MAXROW,nTabCount-1,
                                         InsertDeleteFlags::FORMULA, false, *pUndoDoc );
 
-            // data base and othe ranges
+            // database and other ranges
             ScRangeName* pDocRange = rDoc.GetRangeName();
             if (!pDocRange->empty())
                 pUndoRange = new ScRangeName( *pDocRange );
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 5b32b7e8dbb1..590a32d837f0 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -162,7 +162,7 @@ public:
         bool bOuterResize);
 
     /** Show or hide the specified pane.  The visibility state is taken
-        fromthe given request.
+        from the given request.
         @param rRequest
             The request determines the new visibility state.  The state can
             either be toggled or be set to a given value.
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 30bc90a80a51..f64a98ac4eaf 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2253,7 +2253,7 @@ bool SfxObjectShell::ImportFrom(SfxMedium& rMedium,
 
             // tdf#107690 import custom document property _MarkAsFinal as SecurityOptOpenReadonly
             // (before this fix, LibreOffice opened read-only OOXML documents as editable,
-            // also saved and exported _MarkAsFinal=true silently, resulting unintented read-only
+            // also saved and exported _MarkAsFinal=true silently, resulting unintended read-only
             // warning info bar in MSO)
             uno::Reference< document::XDocumentPropertiesSupplier > xPropSupplier(GetModel(), uno::UNO_QUERY_THROW);
             uno::Reference<document::XDocumentProperties> xDocProps = xPropSupplier->getDocumentProperties() ;
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index a463ea523fae..5d30142ca120 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -465,7 +465,7 @@ void SdrObject::handlePageChange(SdrPage* pOldPage, SdrPage* pNewPage)
     // e.g. from Writer - the SdrObject may be cloned to target model, and
     // the xShape was added to it by purpose (see there). Thus it will be
     // good to think about if this is really needed - it *seems* to be intended
-    // for a xShape being a on-demand-creatable resource - wit hthe argument that
+    // for a xShape being a on-demand-creatable resource - with the argument that
     // the SdrPage/UnoPage used influences the SvxShape creation. This uses
     // resources and would be nice to get rid of anyways.
     if(nullptr == pOldPage || nullptr == pNewPage)


More information about the Libreoffice-commits mailing list