[Libreoffice-commits] core.git: 2 commits - sal/textenc sc/qa sw/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 11 13:11:34 UTC 2019


 sal/textenc/unichars.cxx                     |    2 +-
 sc/qa/extras/scpdfexport.cxx                 |    2 +-
 sw/source/core/SwNumberTree/SwNumberTree.cxx |    4 ++--
 sw/source/core/unocore/unoframe.cxx          |    8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit db948eb64aaedfb54ef4d3746f1fed46564a490d
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue Dec 10 21:40:21 2019 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Dec 11 14:10:38 2019 +0100

    Fix typo in code
    
    Change-Id: I64a4c33658d3e75108be1e5f869b024a6100440e
    Reviewed-on: https://gerrit.libreoffice.org/84899
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 93527cc7772f..743ba6b7fb9e 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -199,7 +199,7 @@ bool BaseFrameProperties_Impl::FillBaseProperties(SfxItemSet& rToSet, const SfxI
     const ::uno::Any* pGraphic = nullptr; GetProperty(RES_BACKGROUND, MID_GRAPHIC, pGraphic     );
     const ::uno::Any* pGrFilter = nullptr; GetProperty(RES_BACKGROUND, MID_GRAPHIC_FILTER, pGrFilter     );
     const ::uno::Any* pGraphicURL = nullptr; GetProperty(RES_BACKGROUND, MID_GRAPHIC_URL, pGraphicURL );
-    const ::uno::Any* pGrTranparency = nullptr; GetProperty(RES_BACKGROUND, MID_GRAPHIC_TRANSPARENCY, pGrTranparency     );
+    const ::uno::Any* pGrTransparency = nullptr; GetProperty(RES_BACKGROUND, MID_GRAPHIC_TRANSPARENCY, pGrTransparency     );
     const bool bSvxBrushItemPropertiesUsed(
         pCol ||
         pTrans ||
@@ -207,7 +207,7 @@ bool BaseFrameProperties_Impl::FillBaseProperties(SfxItemSet& rToSet, const SfxI
         pGraphicURL ||
         pGrFilter ||
         pGrLoc ||
-        pGrTranparency ||
+        pGrTransparency ||
         pColTrans ||
         pRGBCol);
 
@@ -329,9 +329,9 @@ bool BaseFrameProperties_Impl::FillBaseProperties(SfxItemSet& rToSet, const SfxI
             bRet &= static_cast<SfxPoolItem&>(aBrush).PutValue(*pGrLoc, MID_GRAPHIC_POSITION);
         }
 
-        if(pGrTranparency)
+        if(pGrTransparency)
         {
-            bRet &= static_cast<SfxPoolItem&>(aBrush).PutValue(*pGrTranparency, MID_GRAPHIC_TRANSPARENCY);
+            bRet &= static_cast<SfxPoolItem&>(aBrush).PutValue(*pGrTransparency, MID_GRAPHIC_TRANSPARENCY);
         }
 
         setSvxBrushItemAsFillAttributesToTargetSet(aBrush, rToSet);
commit a8c458cc4a731facb3f5b9988e31c74f9292ec5e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Dec 11 09:31:47 2019 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Dec 11 14:10:21 2019 +0100

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

diff --git a/sal/textenc/unichars.cxx b/sal/textenc/unichars.cxx
index ed1f9be22fce..165ebbeb78de 100644
--- a/sal/textenc/unichars.cxx
+++ b/sal/textenc/unichars.cxx
@@ -83,7 +83,7 @@ bool ImplIsZeroWidth(sal_uInt32 nUtf32)
     return nUtf32 == 0x200B // ZERO WIDTH SPACE
            || nUtf32 == 0x200C // ZERO WIDTH NON-JOINER
            || nUtf32 == 0x200D // ZERO WIDTH JOINER
-           || nUtf32 == 0xFEFF; // ZEOR WIDTH NO-BREAK SPACE
+           || nUtf32 == 0xFEFF; // ZERO WIDTH NO-BREAK SPACE
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/extras/scpdfexport.cxx b/sc/qa/extras/scpdfexport.cxx
index ef15a814e703..5629ee010b89 100644
--- a/sc/qa/extras/scpdfexport.cxx
+++ b/sc/qa/extras/scpdfexport.cxx
@@ -150,7 +150,7 @@ ScPDFExportTest::exportToPDF(const uno::Reference<frame::XModel>& xModel, const
     pTempFile->EnableKillingFile();
     OUString sFileURL = pTempFile->GetURL();
     // Note: under Windows path path should be with "/" delimiters instead of "\\"
-    // due to usage of INetURLObject() that converts "\\" to hexdecimal notation.
+    // due to usage of INetURLObject() that converts "\\" to hexadecimal notation.
     ::osl::FileBase::getFileURLFromSystemPath(sFileURL, sFileURL);
 
     // get XSpreadsheet
diff --git a/sw/source/core/SwNumberTree/SwNumberTree.cxx b/sw/source/core/SwNumberTree/SwNumberTree.cxx
index 87a10e9702e9..2b2ab634b518 100644
--- a/sw/source/core/SwNumberTree/SwNumberTree.cxx
+++ b/sw/source/core/SwNumberTree/SwNumberTree.cxx
@@ -778,8 +778,8 @@ bool SwNumberTreeNode::IsFirst() const
             }
 
             // If node isn't the first child, it is the second child and the
-            // first child is a phanton. In this case check, if the first phantom
-            // child have only phanton children
+            // first child is a phantom. In this case check, if the first phantom
+            // child have only phantom children
             if ( bResult &&
                  this != *(GetParent()->mChildren.begin()) &&
                  !(*(GetParent()->mChildren.begin()))->HasOnlyPhantoms() )


More information about the Libreoffice-commits mailing list