[Libreoffice-commits] core.git: writerperfect/source xmloff/source xmlscript/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 08:26:54 UTC 2019


 writerperfect/source/calc/MSWorksCalcImportFilter.cxx |    2 +-
 xmloff/source/forms/elementimport.cxx                 |    2 +-
 xmloff/source/table/XMLTableExport.cxx                |    2 +-
 xmloff/source/text/txtimp.cxx                         |    2 +-
 xmlscript/source/xmldlg_imexp/xmldlg_export.cxx       |    6 +++---
 5 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 89fa56078e97525986a6bd3fcc084130bfcbb7c2
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 18:07:03 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 10:25:53 2019 +0200

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

diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
index 8b9a40bd5f61..919184a1fd75 100644
--- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
@@ -89,7 +89,7 @@ public:
     const unsigned char* read(unsigned long, unsigned long&) override { return nullptr; }
     //! returns actual offset position
     long tell() override { return 0; }
-    /*! \brief seeks to a offset position, from actual, beginning or ending position
+    /*! \brief seeks to an offset position, from actual, beginning or ending position
      * \return 0 if ok
      */
     int seek(long, librevenge::RVNG_SEEK_TYPE) override { return 1; }
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index bf213dd8b5bf..c1083ba2332f 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1781,7 +1781,7 @@ namespace xmloff
 
         // clone the attributes
         Reference< XCloneable > xCloneList(_rxAttrList, UNO_QUERY);
-        OSL_ENSURE(xCloneList.is(), "OColumnWrapperImport::StartElement: AttributeList not cloneable!");
+        OSL_ENSURE(xCloneList.is(), "OColumnWrapperImport::StartElement: AttributeList not clonable!");
         if ( xCloneList.is() )
             m_xOwnAttributes.set(xCloneList->createClone(), UNO_QUERY);
         OSL_ENSURE(m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: no cloned list!");
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx
index 563d57ca7e94..596e94149785 100644
--- a/xmloff/source/table/XMLTableExport.cxx
+++ b/xmloff/source/table/XMLTableExport.cxx
@@ -394,7 +394,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
                     mrExport.AddAttribute(XML_NAMESPACE_TABLE, XML_STYLE_NAME, sStyleName );
             }
 
-            // TODO: All columns first have to be checked if some ones
+            // TODO: all columns first have to be checked if someone
             // have identical properties. If yes, attr table:number-columns-repeated
             // has to be written.
             SvXMLElementExport tableColumnElement( mrExport, XML_NAMESPACE_TABLE, XML_TABLE_COLUMN, true, true );
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 09d569bfb5ee..ac9a144953f7 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2442,7 +2442,7 @@ sal_Int32 XMLTextImportHelper::GetDataStyleKey(const OUString& sStyleName,
 
 
     // first check if it's an Impress and draw only number format
-    // this is needed since its also a SvXMLNumFormatContext,
+    // this is needed since it's also a SvXMLNumFormatContext,
     // that was needed to support them for controls in impress/draw also
     const SdXMLNumberFormatImportContext* pSdNumStyle = dynamic_cast<const SdXMLNumberFormatImportContext*>( pStyle  );
     if( pSdNumStyle )
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index eca2feb26fa0..3deca0ba6c04 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -1058,15 +1058,15 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
     Any a( _xProps->getPropertyValue( "Name" ) );
 
     // The following is a hack to allow 'form' controls to override the default
-    // control supported by dialogs. This should work well for both vba support and
-    // normal openoffice ( when normal 'Dialogs' decide to support form control models )
+    // control supported by dialogs. This should work well for both VBA support and
+    // normal LibreOffice (when normal 'Dialogs' decide to support form control models)
     // In the future VBA support might require custom models ( and not the just the form
     // variant of a control that we currently use ) In this case the door is still open,
     // we just need to define a new way for the 'ServiceName' to be extracted from the
     // incoming model. E.g. the use of supporting service
     // "com.sun.star.form.FormComponent", 'ServiceName' and XPersistObject
     // is only an implementation detail here, in the future some other
-    // method ( perhaps a custom prop ) could be used instead.
+    // method (perhaps a custom prop) could be used instead.
     Reference< lang::XServiceInfo > xSrvInfo( _xProps, UNO_QUERY );
     if ( xSrvInfo.is() && xSrvInfo->supportsService( "com.sun.star.form.FormComponent" ) )
     {


More information about the Libreoffice-commits mailing list