[Libreoffice-commits] core.git: basic/source comphelper/source configmgr/source dtrans/source include/basegfx include/comphelper include/xmloff sc/source solenv/gdb svx/source ucb/source vcl/source xmlsecurity/source

Andrea Gelmini andrea.gelmini at gelma.net
Sun Oct 23 17:17:29 UTC 2016


 basic/source/classes/sbxmod.cxx                |    2 +-
 comphelper/source/misc/backupfilehelper.cxx    |    2 +-
 configmgr/source/components.cxx                |    2 +-
 configmgr/source/writemodfile.cxx              |    2 +-
 dtrans/source/win32/clipb/WinClipbImpl.cxx     |    2 +-
 include/basegfx/polygon/b2dtrapezoid.hxx       |    2 +-
 include/comphelper/backupfilehelper.hxx        |    2 +-
 include/xmloff/xmlexp.hxx                      |    2 +-
 sc/source/core/data/table1.cxx                 |    2 +-
 solenv/gdb/libreoffice/util/string.py          |    2 +-
 svx/source/sdr/contact/viewcontactofsdrobj.cxx |    2 +-
 ucb/source/ucp/webdav-neon/DAVTypes.hxx        |    2 +-
 vcl/source/gdi/CommonSalLayout.cxx             |    2 +-
 xmlsecurity/source/pdfio/pdfdocument.cxx       |    4 ++--
 14 files changed, 15 insertions(+), 15 deletions(-)

New commits:
commit 525311b0d6db11f247097fe76d1b2967966cf669
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sun Oct 23 12:56:00 2016 +0200

    Fix typos
    
    Change-Id: Ib7b17f85c7b6a1937c3f6e1617ceec58074643b4
    Reviewed-on: https://gerrit.libreoffice.org/30040
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index b7d9d59..79cfa64 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -676,7 +676,7 @@ void SbModule::Clear()
 
 SbxVariable* SbModule::Find( const OUString& rName, SbxClassType t )
 {
-    // make sure a search in an uninstatiated class module will fail
+    // make sure a search in an uninstantiated class module will fail
     SbxVariable* pRes = SbxObject::Find( rName, t );
     if ( bIsProxyModule && !GetSbData()->bRunInit )
     {
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index f975c9c..f9587ce 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -994,7 +994,7 @@ namespace
         sal_uInt32          mnOffset;           // offset in File (zero identifies new file)
         sal_uInt32          mnCrc32;            // checksum
         FileSharedPtr       maFile;             // file where to find the data (at offset)
-        bool                mbDoCompress;       // flag if this file is scheduled to be compredded when written
+        bool                mbDoCompress;       // flag if this file is scheduled to be compressed when written
 
         bool copy_content_straight(oslFileHandle& rTargetHandle)
         {
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 3e53840..7eb8796 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -628,7 +628,7 @@ Components::~Components()
 
     if (bExitWasCalled)
     {
-        // do not write, re-join thereads
+        // do not write, re-join threads
         osl::MutexGuard g(*lock_);
 
         if (writeThread_.is())
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 6f83216..a1e545e 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -632,7 +632,7 @@ void writeModFile(
     // registrymodifications file, this is done based on file size in bytes and crc32.
     // Unfortunately this write is based on writing unordered map entries, which creates
     // valid and semantically equal XML-Files, bubt with different crc32 checksums. For
-    // the future usage it will be preferrable to have easily comparable config files
+    // the future usage it will be preferable to have easily comparable config files
     // which is guaranteed by writing the entries in sorted order. Indeed with this change
     // (and in the recursive writeModifications call) the same config files get written
 
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index d38c308..76d7b06 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -152,7 +152,7 @@ void SAL_CALL CWinClipbImpl::flushClipboard( ) throw( RuntimeException )
     // The request is needed to prevent flushing if we are not clipboard owner (it is
     // not known what happens if we flush but aren't clipoard owner).
     // It may be possible to move the request to the clipboard STA thread by saving the
-    // DataObject and call OleIsCurrentClipboard bevore flushing.
+    // DataObject and call OleIsCurrentClipboard before flushing.
 
     if ( nullptr != m_pCurrentClipContent )
         m_MtaOleClipboard.flushClipboard( );
diff --git a/include/basegfx/polygon/b2dtrapezoid.hxx b/include/basegfx/polygon/b2dtrapezoid.hxx
index e026367..d507728 100644
--- a/include/basegfx/polygon/b2dtrapezoid.hxx
+++ b/include/basegfx/polygon/b2dtrapezoid.hxx
@@ -97,7 +97,7 @@ namespace basegfx
             double fLineWidth);
 
         // create trapezoids for all edges of the given polygon. The closed state of
-        // the polygon is taken into account. If curves are contaned, the default
+        // the polygon is taken into account. If curves are contained, the default
         // AdaptiveSubdivision will be used.
         BASEGFX_DLLPUBLIC void createLineTrapezoidFromB2DPolygon(
             B2DTrapezoidVector& ro_Result,
diff --git a/include/comphelper/backupfilehelper.hxx b/include/comphelper/backupfilehelper.hxx
index 8d21616..0857251 100644
--- a/include/comphelper/backupfilehelper.hxx
+++ b/include/comphelper/backupfilehelper.hxx
@@ -116,7 +116,7 @@ namespace comphelper
         static void reactOnSafeMode(bool bSafeMode);
 
         /** tries to create a new backup, if there is none yet, or if the
-         *  last differs from the base file. It will then put a new verion
+         *  last differs from the base file. It will then put a new version
          *  on the 'stack' of copies and evtl. delete the oldest backup.
          *  Also may cleanup older backups when NumBackups given in the
          *  constructor has changed.
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 2c9ed6d..1ee7ba6 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -661,7 +661,7 @@ public:
     SvXMLElementExport( SvXMLExport& rExp, const OUString& rQName,
                         bool bIgnWSOutside, bool bIgnWSInside );
 
-    // Thes constructors do nothing if bDoSomething is not set
+    // These constructors do nothing if bDoSomething is not set
     SvXMLElementExport( SvXMLExport& rExp, bool bDoSomething,
                         sal_uInt16 nPrefix,
                         enum ::xmloff::token::XMLTokenEnum eName,
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 1ad6ebe..8f34af0 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1509,7 +1509,7 @@ void ScTable::UpdateReference(
     SCROW nRow1 = rCxt.maRange.aStart.Row(), nRow2 = rCxt.maRange.aEnd.Row();
     SCTAB nTab1 = rCxt.maRange.aStart.Tab(), nTab2 = rCxt.maRange.aEnd.Tab();
 
-    // Named expressions need to be updated before formulas acessing them.
+    // Named expressions need to be updated before formulas accessing them.
     if (mpRangeName)
         mpRangeName->UpdateReference(rCxt, nTab);
 
diff --git a/solenv/gdb/libreoffice/util/string.py b/solenv/gdb/libreoffice/util/string.py
index 4583f59..3258371 100644
--- a/solenv/gdb/libreoffice/util/string.py
+++ b/solenv/gdb/libreoffice/util/string.py
@@ -28,7 +28,7 @@ class StringPrinterHelper(object):
             len = self.length()
             return self.make_string(data, self.encoding, len)
         else:
-            return "unintialized %s" % self.typename
+            return "uninitialized %s" % self.typename
 
     def display_hint(self):
         if self.valid():
diff --git a/svx/source/sdr/contact/viewcontactofsdrobj.cxx b/svx/source/sdr/contact/viewcontactofsdrobj.cxx
index 9b6713e..7147bdd 100644
--- a/svx/source/sdr/contact/viewcontactofsdrobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrobj.cxx
@@ -128,7 +128,7 @@ void ViewContactOfSdrObj::ActionChanged()
     ViewContact::ActionChanged();
 }
 
-// override for acessing the SdrObject
+// override for accessing the SdrObject
 SdrObject* ViewContactOfSdrObj::TryToGetSdrObject() const
 {
     return &GetSdrObject();
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.hxx b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
index 8474ad9..2356ab1 100644
--- a/ucb/source/ucp/webdav-neon/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-neon/DAVTypes.hxx
@@ -95,7 +95,7 @@ namespace webdav_ucp
 
         /// The cached HTT response status code. It's 0 if the code was dealt with and there is no need to cache it
         sal_uInt16 m_nHttpResponseStatusCode;
-        /// The cached string with the server returned HTTP reponse status code string, corresponds to m_nHttpResponseStatusCode.
+        /// The cached string with the server returned HTTP response status code string, corresponds to m_nHttpResponseStatusCode.
         OUString  m_sHttpResponseStatusText;
 
     public:
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 0fba16b..4bd9f60 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -609,7 +609,7 @@ bool CommonSalLayout::GetCharWidths(DeviceCoordinate* pCharWidths) const
 // - In LayoutText() set KashidaJustification flag based on text script.
 // - In ApplyDXArray():
 //   * Check the above flag to decide whether to insert Kashidas or not.
-//   * For any RTL glyph that has DX adjustment, insert enough Khashidas to
+//   * For any RTL glyph that has DX adjustment, insert enough Kashidas to
 //     fill in the added space.
 
 void CommonSalLayout::ApplyDXArray(ImplLayoutArgs& rArgs)
diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx
index 753c308..2a5b70e 100644
--- a/xmlsecurity/source/pdfio/pdfdocument.cxx
+++ b/xmlsecurity/source/pdfio/pdfdocument.cxx
@@ -218,7 +218,7 @@ public:
     bool Read(SvStream& rStream) override;
 };
 
-/// The trailer signleton is at the end of the doc.
+/// The trailer singleton is at the end of the doc.
 class PDFTrailerElement : public PDFElement
 {
     PDFDocument& m_rDoc;
@@ -854,7 +854,7 @@ void PDFDocument::ReadXRef(SvStream& rStream)
         PDFNumberElement aGenerationNumber;
         if (!aGenerationNumber.Read(rStream))
         {
-            SAL_WARN("xmlsecurity.pdfio", "PDFDocument::ReadXRef: failed to read genration number");
+            SAL_WARN("xmlsecurity.pdfio", "PDFDocument::ReadXRef: failed to read generation number");
             return;
         }
 


More information about the Libreoffice-commits mailing list