ridljar/com/sun/star/uno/Enum.java                  |    2 +-
 udkapi/com/sun/star/container/XEnumerableMap.idl    |    6 +++---
 unotools/source/config/viewoptions.cxx              |    2 +-
 xmloff/dtd/chart.mod                                |    2 +-
 xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx  |    4 ++--
 xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx |    4 ++--
 xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx     |    4 ++--
 xmloff/inc/XMLRectangleMembersHandler.hxx           |    4 ++--
 xmloff/source/core/xmlimp.cxx                       |    4 ++--
 xmloff/source/draw/propimp0.cxx                     |    2 +-
 xmloff/source/draw/shapeexport.cxx                  |    8 ++++----
 xmloff/source/draw/ximpcustomshape.cxx              |    2 +-
 xmloff/source/draw/ximpshap.cxx                     |    6 +++---
 xmloff/source/forms/elementexport.cxx               |    2 +-
 xmloff/source/forms/elementimport.cxx               |    4 ++--
 xmloff/source/forms/elementimport.hxx               |    4 ++--
 xmloff/source/forms/formattributes.hxx              |   18 +++++++++---------
 xmloff/source/forms/formcellbinding.hxx             |    2 +-
 xmloff/source/forms/layerexport.cxx                 |    2 +-
 xmloff/source/forms/layerexport.hxx                 |    2 +-
 xmloff/source/forms/propertyexport.cxx              |    2 +-
 xmloff/source/forms/propertyexport.hxx              |    4 ++--
 xmloff/source/forms/propertyimport.hxx              |    2 +-
 xmloff/source/style/xmlimppr.cxx                    |    2 +-
 xmloff/source/text/XMLRedlineExport.cxx             |    2 +-
 xmloff/source/text/XMLRedlineExport.hxx             |    4 ++--
 xmloff/source/text/XMLTextFrameContext.cxx          |    2 +-
 xmloff/source/text/txtimp.cxx                       |    2 +-
 xmloff/source/text/txtimppr.cxx                     |    2 +-
 xmloff/source/text/txtparaimphint.hxx               |    2 +-
 xmloff/source/text/txtstyli.cxx                     |    2 +-
 xmloff/source/transform/DocumentTContext.hxx        |    2 +-
 xmloff/source/transform/FormPropOASISTContext.cxx   |    2 +-
 xmloff/source/transform/IgnoreTContext.hxx          |    4 ++--
 xmloff/source/transform/MetaTContext.hxx            |    2 +-
 xmloff/source/transform/PersAttrListTContext.hxx    |    4 ++--
 xmloff/source/transform/TransformerBase.cxx         |    2 +-
 xmloff/source/transform/TransformerContext.hxx      |    4 ++--
 38 files changed, 65 insertions(+), 65 deletions(-)

New commits:
commit 937440b65368e832a9e9fba92dfdb2efec4e06b5
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Jul 26 15:18:52 2019 +0200
Commit:     Andrea Gelmini <andrea.gelm...@gelma.net>
CommitDate: Fri Jul 26 18:50:35 2019 +0200

    Fix typos
    
    Change-Id: I60261b937215340d2eb6f439234e99a300b0e189
    Reviewed-on: https://gerrit.libreoffice.org/76380
    Tested-by: Jenkins
    Reviewed-by: Andrea Gelmini <andrea.gelm...@gelma.net>

diff --git a/ridljar/com/sun/star/uno/Enum.java 
b/ridljar/com/sun/star/uno/Enum.java
index 90ac08ead25a..f18015d9558d 100644
--- a/ridljar/com/sun/star/uno/Enum.java
+++ b/ridljar/com/sun/star/uno/Enum.java
@@ -32,7 +32,7 @@ public abstract class Enum {
     private final int m_value;
 
     /**
-     * Constructs a enum value.
+     * Constructs an enum value.
      * @param  value   the integer value of this enum value.
      */
     protected Enum(int value) {
diff --git a/udkapi/com/sun/star/container/XEnumerableMap.idl 
b/udkapi/com/sun/star/container/XEnumerableMap.idl
index 1be6ec8a4e38..06d982447069 100644
--- a/udkapi/com/sun/star/container/XEnumerableMap.idl
+++ b/udkapi/com/sun/star/container/XEnumerableMap.idl
@@ -54,7 +54,7 @@ module com { module sun { module star { module container {
  */
 interface XEnumerableMap : XMap
 {
-    /** creates a enumerator for the keys of the map
+    /** creates an enumerator for the keys of the map
 
         @param Isolated
             controls whether the newly create enumerator should be isolated 
from the map.
@@ -65,7 +65,7 @@ interface XEnumerableMap : XMap
     XEnumeration createKeyEnumeration( [in] boolean Isolated )
         raises ( ::com::sun::star::lang::NoSupportException );
 
-    /** creates a enumerator for the values of the map
+    /** creates an enumerator for the values of the map
 
         @param Isolated
             controls whether the newly create enumerator should be isolated 
from the map.
@@ -76,7 +76,7 @@ interface XEnumerableMap : XMap
     XEnumeration createValueEnumeration( [in] boolean Isolated )
         raises ( ::com::sun::star::lang::NoSupportException );
 
-    /** creates a enumerator for the key-value pairs of the map
+    /** creates an enumerator for the key-value pairs of the map
 
         <p>The elements returned by the enumerator are instances of 
com::sun::star::beans::Pair,
         holding the key-value-pairs which are part of the map.</p>
diff --git a/unotools/source/config/viewoptions.cxx 
b/unotools/source/config/viewoptions.cxx
index b88fddf630d3..b7cfc9e063c3 100644
--- a/unotools/source/config/viewoptions.cxx
+++ b/unotools/source/config/viewoptions.cxx
@@ -181,7 +181,7 @@ SvtViewOptionsBase_Impl::~SvtViewOptionsBase_Impl()
 {
     // don't flush configuration changes here to m_xRoot.
     // That must be done inside every SetXXX() method already !
-    // Here its to late - DisposedExceptions from used configuration access 
can occur otherwise.
+    // Here it's too late - DisposedExceptions from used configuration access 
can occur otherwise.
 
     m_xRoot.clear();
     m_xSet.clear();
diff --git a/xmloff/dtd/chart.mod b/xmloff/dtd/chart.mod
index ee6d5e3887d6..66ea56a021b2 100644
--- a/xmloff/dtd/chart.mod
+++ b/xmloff/dtd/chart.mod
@@ -186,7 +186,7 @@
                  table:cell-range-address %cell-range-address; #IMPLIED >
 
 <!--
-       each series element must have an cell-range-address element that points
+       each series element must have a cell-range-address element that points
        to the underlying table data.
        Impl. Note: Internally all href elements are merged to one table range
        that represents the data for the whole chart
diff --git a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx 
b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx
index 6550c42ea25c..0c01f0c8ff53 100644
--- a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx
+++ b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx
@@ -37,13 +37,13 @@ public:
     // Just needed for virtual destruction
     virtual ~XMLBitmapLogicalSizePropertyHandler() override;
 
-    /// Imports the given value in cas of the given XML-data-type
+    /// Imports the given value in case of the given XML-data-type
     virtual bool importXML(
             const OUString& rStrImpValue,
             css::uno::Any& rValue,
             const SvXMLUnitConverter& rUnitConverter ) const override;
 
-    /// Exports the given value in cas of the given XML-data-type
+    /// Exports the given value in case of the given XML-data-type
     virtual bool exportXML(
             OUString& rStrExpValue,
             const css::uno::Any& rValue,
diff --git a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx 
b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx
index 70c6bf17f7fc..e33f1c832a42 100644
--- a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx
+++ b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx
@@ -39,13 +39,13 @@ public:
     // Just needed for virtual destruction
     virtual ~XMLBitmapRepeatOffsetPropertyHandler() override;
 
-    /// Imports the given value in cas of the given XML-data-type
+    /// Imports the given value in case of the given XML-data-type
     virtual bool importXML(
             const OUString& rStrImpValue,
             css::uno::Any& rValue,
             const SvXMLUnitConverter& rUnitConverter ) const override;
 
-    /// Exports the given value in cas of the given XML-data-type
+    /// Exports the given value in case of the given XML-data-type
     virtual bool exportXML(
             OUString& rStrExpValue,
             const css::uno::Any& rValue,
diff --git a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx 
b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx
index 276faced29d0..08ad38e8cd1e 100644
--- a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx
+++ b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx
@@ -37,13 +37,13 @@ public:
     // Just needed for virtual destruction
     virtual ~XMLFillBitmapSizePropertyHandler() override;
 
-    /// Imports the given value in cas of the given XML-data-type
+    /// Imports the given value in case of the given XML-data-type
     virtual bool importXML(
             const OUString& rStrImpValue,
             css::uno::Any& rValue,
             const SvXMLUnitConverter& rUnitConverter ) const override;
 
-    /// Exports the given value in cas of the given XML-data-type
+    /// Exports the given value in case of the given XML-data-type
     virtual bool exportXML(
             OUString& rStrExpValue,
             const css::uno::Any& rValue,
diff --git a/xmloff/inc/XMLRectangleMembersHandler.hxx 
b/xmloff/inc/XMLRectangleMembersHandler.hxx
index 0ab06d579e65..7e57946f4c4d 100644
--- a/xmloff/inc/XMLRectangleMembersHandler.hxx
+++ b/xmloff/inc/XMLRectangleMembersHandler.hxx
@@ -39,13 +39,13 @@ public:
     // Just needed for virtual destruction
     virtual ~XMLRectangleMembersHdl() override;
 
-    /// Imports the given value in cas of the given XML-data-type
+    /// Imports the given value in case of the given XML-data-type
     virtual bool importXML(
             const OUString& rStrImpValue,
             css::uno::Any& rValue,
             const SvXMLUnitConverter& rUnitConverter ) const override;
 
-    /// Exports the given value in cas of the given XML-data-type
+    /// Exports the given value in case of the given XML-data-type
     virtual bool exportXML(
             OUString& rStrExpValue,
             const css::uno::Any& rValue,
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 07e008af3e91..b2b04e799ef0 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -687,7 +687,7 @@ std::unique_ptr<SvXMLNamespaceMap> 
SvXMLImport::processNSAttributes(
             // Add namespace, but only if it is known.
             sal_uInt16 nKey = mpNamespaceMap->AddIfKnown( aPrefix, rAttrValue 
);
             // If namespace is unknown, try to match a name with similar
-            // TC Id an version
+            // TC Id and version
             if( XML_NAMESPACE_UNKNOWN == nKey  )
             {
                 OUString aTestName( rAttrValue );
@@ -1327,7 +1327,7 @@ bool SvXMLImport::IsPackageURL( const OUString& rURL ) 
const
             // it's not an external URI
             return false;
         else if( '/' == rURL[1] )
-            // we are remaining on a level, so it's an package URI
+            // we are remaining on a level, so it's a package URI
             return true;
     }
 
diff --git a/xmloff/source/draw/propimp0.cxx b/xmloff/source/draw/propimp0.cxx
index 762d4162c41f..41fb22df3b24 100644
--- a/xmloff/source/draw/propimp0.cxx
+++ b/xmloff/source/draw/propimp0.cxx
@@ -169,7 +169,7 @@ bool XMLOpacityPropertyHdl::exportXML(
     return bRet;
 }
 
-// implementation of an text animation step amount
+// implementation of a text animation step amount
 
 XMLTextAnimationStepPropertyHdl::~XMLTextAnimationStepPropertyHdl()
 {
diff --git a/xmloff/source/draw/shapeexport.cxx 
b/xmloff/source/draw/shapeexport.cxx
index b56f99bc3359..4a818e118ae4 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -1346,7 +1346,7 @@ void XMLShapeExport::ImpExportNewTrans(const 
uno::Reference< beans::XPropertySet
     ::basegfx::B2DHomMatrix aMatrix;
     ImpExportNewTrans_GetB2DHomMatrix(aMatrix, xPropSet);
 
-    // decompose and correct abour pRefPoint
+    // decompose and correct about pRefPoint
     ::basegfx::B2DTuple aTRScale;
     double fTRShear(0.0);
     double fTRRotate(0.0);
@@ -2182,7 +2182,7 @@ void XMLShapeExport::ImpExportPolygonShape(
     ::basegfx::B2DHomMatrix aMatrix;
     ImpExportNewTrans_GetB2DHomMatrix(aMatrix, xPropSet);
 
-    // decompose and correct abour pRefPoint
+    // decompose and correct about pRefPoint
     ::basegfx::B2DTuple aTRScale;
     double fTRShear(0.0);
     double fTRRotate(0.0);
@@ -2867,8 +2867,8 @@ void XMLShapeExport::ImpExportOLE2Shape(
                 // xlink:href
                 if( !sURL.isEmpty() )
                 {
-                    // #96717# in theorie, if we don't have a url we shouldn't 
even
-                    // export this ole shape. But practical its to risky right 
now
+                    // #96717# in theorie, if we don't have a URL we shouldn't 
even
+                    // export this OLE shape. But practically it's too risky 
right now
                     // to change this so we better dispose this on load
                     sURL = mrExport.AddEmbeddedObject( sURL );
 
diff --git a/xmloff/source/draw/ximpcustomshape.cxx 
b/xmloff/source/draw/ximpcustomshape.cxx
index 4c1e0e5121d6..19539ab5b2a8 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -1185,7 +1185,7 @@ static void CheckAndResolveEquationParameter( 
css::drawing::EnhancedCustomShapeP
 
 void XMLEnhancedCustomShapeContext::EndElement()
 {
-    // resolve properties that are indexing a Equation
+    // resolve properties that are indexing an Equation
     if ( !maEquations.empty() )
     {
         // creating hash map containing the name and index of each equation
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 58c3e512dc54..8139020afdf5 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -2186,7 +2186,7 @@ void SdXMLPageShapeContext::StartElement(const 
uno::Reference< xml::sax::XAttrib
     // add, set style and properties from base shape
 
     // #86163# take into account which type of PageShape needs to
-    // be constructed. It's an pres shape if presentation:XML_CLASS == 
XML_PRESENTATION_PAGE.
+    // be constructed. It's a pres shape if presentation:XML_CLASS == 
XML_PRESENTATION_PAGE.
     bool bIsPresentation = !maPresentationClass.isEmpty() &&
            GetImport().GetShapeImport()->IsPresentationShapesSupported();
 
@@ -2598,8 +2598,8 @@ SdXMLObjectShapeContext::~SdXMLObjectShapeContext()
 
 void SdXMLObjectShapeContext::StartElement( const css::uno::Reference< 
css::xml::sax::XAttributeList >& )
 {
-    // #96717# in theorie, if we don't have a url we shouldn't even
-    // export this ole shape. But practical its to risky right now
+    // #96717# in theorie, if we don't have a URL we shouldn't even
+    // export this OLE shape. But practically it's too risky right now
     // to change this so we better dispose this on load
     //if( !mbIsPlaceholder && ImpIsEmptyURL(maHref) )
     //  return;
diff --git a/xmloff/source/forms/elementexport.cxx 
b/xmloff/source/forms/elementexport.cxx
index c79cb806cc12..9f92db511cd9 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -1310,7 +1310,7 @@ namespace xmloff
             }
             if (i < nValues)
             {
-                // there is an value at this position
+                // there is a value at this position
                 AddAttribute(
                     
OAttributeMetaData::getCommonControlAttributeNamespace(CCAFlags::Value),
                     
OAttributeMetaData::getCommonControlAttributeName(CCAFlags::Value),
diff --git a/xmloff/source/forms/elementimport.cxx 
b/xmloff/source/forms/elementimport.cxx
index e118e0d942fb..3329dffd750c 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -217,7 +217,7 @@ namespace xmloff
         // set all the properties we collected
 #if OSL_DEBUG_LEVEL > 0
         // check if the object has all the properties
-        // (We do this in the non-pro version only. Doing it all the time 
would be much to expensive)
+        // (We do this in the non-pro version only. Doing it all the time 
would be too much expensive)
         if ( m_xInfo.is() )
         {
             for ( const auto& rCheck : m_aValues )
@@ -1922,7 +1922,7 @@ namespace xmloff
                 if (*pChars == ',')
                     ++nEstimate;
             aElements.reserve(nEstimate + 1);
-                // that's the worst case. If the string contains the separator 
character _quoted_, we reserved to much ...
+                // that's the worst case. If the string contains the separator 
character _quoted_, we reserved too much...
 
             sal_Int32 nElementStart = 0;
             sal_Int32 nNextSep = 0;
diff --git a/xmloff/source/forms/elementimport.hxx 
b/xmloff/source/forms/elementimport.hxx
index ebccb725fae5..8f4939d911de 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -133,7 +133,7 @@ namespace xmloff
 
         /** create the (uninitialized) element which is to represent the read 
data
 
-            <p>The default implementation uses <member>m_xORB</member> to 
create a object with <member>m_sServiceName</member>.
+            <p>The default implementation uses <member>m_xORB</member> to 
create an object with <member>m_sServiceName</member>.
         */
         virtual css::uno::Reference< css::beans::XPropertySet >
                         createElement();
@@ -501,7 +501,7 @@ namespace xmloff
             const OUString& _rLocalName,
             const OUString& _rValue) override;
 
-        // OControlImport ovrridables
+        // OControlImport overridables
         virtual void doRegisterCellValueBinding( const OUString& 
_rBoundCellAddress ) override;
 
     protected:
diff --git a/xmloff/source/forms/formattributes.hxx 
b/xmloff/source/forms/formattributes.hxx
index 343936ead77d..6de21b913e3b 100644
--- a/xmloff/source/forms/formattributes.hxx
+++ b/xmloff/source/forms/formattributes.hxx
@@ -196,7 +196,7 @@ namespace xmloff
         */
         static const sal_Char* getFormAttributeName(FormAttributes _eAttrib);
 
-        /** calculates the xml namespace key to use for a attribute of a form 
xml representation
+        /** calculates the xml namespace key to use for an attribute of a form 
xml representation
             @param  _eAttrib
                 enum value specifying the attribute
         */
@@ -246,13 +246,13 @@ namespace xmloff
         */
         static sal_uInt16 getSpecialAttributeNamespace(SCAFlags _nId);
 
-        /** calculates the xml attribute representation of a attribute of the 
office:forms element
+        /** calculates the xml attribute representation of an attribute of the 
office:forms element
             @param _nId
                 the id of the attribute
         */
         static const sal_Char* 
getOfficeFormsAttributeName(OfficeFormsAttributes _eAttrib);
 
-        /** calculates the xml namedspace key of a attribute of the 
office:forms element
+        /** calculates the xml namedspace key of an attribute of the 
office:forms element
             @param _nId
                 the id of the attribute
         */
@@ -306,7 +306,7 @@ namespace xmloff
         const AttributeAssignment* getAttributeTranslation(
             const OUString& _rAttribName);
 
-        /** add a attribute assignment referring to a string property to the 
map
+        /** add an attribute assignment referring to a string property to the 
map
             @param _pAttributeName
                 the name of the attribute
             @param _rPropertyName
@@ -315,7 +315,7 @@ namespace xmloff
         void    addStringProperty(
             const sal_Char* _pAttributeName, const OUString& _rPropertyName);
 
-        /** add a attribute assignment referring to a boolean property to the 
map
+        /** add an attribute assignment referring to a boolean property to the 
map
 
             @param _pAttributeName
                 the name of the attribute
@@ -324,14 +324,14 @@ namespace xmloff
             @param _bAttributeDefault
                 the default value for the attribute.
             @param _bInverseSemantics
-                if <TRUE/>, a attribute value of <TRUE/> means a property 
value of <FALSE/> and vice verse.<br/>
+                if <TRUE/>, an attribute value of <TRUE/> means a property 
value of <FALSE/> and vice verse.<br/>
                 if <FALSE/>, the attribute value is used as property value 
directly
         */
         void    addBooleanProperty(
             const sal_Char* _pAttributeName, const OUString& _rPropertyName,
             const bool _bAttributeDefault, const bool _bInverseSemantics = 
false);
 
-        /** add a attribute assignment referring to an int16 property to the 
map
+        /** add an attribute assignment referring to an int16 property to the 
map
 
             @param _pAttributeName
                 the name of the attribute
@@ -341,7 +341,7 @@ namespace xmloff
         void    addInt16Property(
             const sal_Char* _pAttributeName, const OUString& _rPropertyName);
 
-        /** add a attribute assignment referring to an int32 property to the 
map
+        /** add an attribute assignment referring to an int32 property to the 
map
 
             @param _pAttributeName
                 the name of the attribute
@@ -351,7 +351,7 @@ namespace xmloff
         void    addInt32Property(
             const sal_Char* _pAttributeName, const OUString& _rPropertyName );
 
-        /** add a attribute assignment referring to an enum property to the map
+        /** add an attribute assignment referring to an enum property to the 
map
 
             @param _pAttributeName
                 the name of the attribute
diff --git a/xmloff/source/forms/formcellbinding.hxx 
b/xmloff/source/forms/formcellbinding.hxx
index bd13277bd460..876973b227a3 100644
--- a/xmloff/source/forms/formcellbinding.hxx
+++ b/xmloff/source/forms/formcellbinding.hxx
@@ -56,7 +56,7 @@ namespace xmloff
                 the control model which is or will be bound
             @param _rxDocument
                 the document. If this is <NULL/>, the document will be 
obtained from the model
-                itself by walkon up the chain of its ancestors.<br/>
+                itself by walk on up the chain of its ancestors.<br/>
                 This parameter can be used if the control model is not (yet) 
part of a document
                 model.
         */
diff --git a/xmloff/source/forms/layerexport.cxx 
b/xmloff/source/forms/layerexport.cxx
index 957395408d03..a4de8636d8e8 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -198,7 +198,7 @@ namespace xmloff
                     // without this, a lot of stuff in the export routines may 
fail
                     continue;
 
-                // if the element is part of a ignore list, we are not allowed 
to export it
+                // if the element is part of an ignore list, we are not 
allowed to export it
                 if ( m_aIgnoreList.end() != m_aIgnoreList.find( xCurrentProps 
) )
                     continue;
 
diff --git a/xmloff/source/forms/layerexport.hxx 
b/xmloff/source/forms/layerexport.hxx
index 163be842343e..516d9934a063 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -105,7 +105,7 @@ namespace xmloff
                             m_aCurrentPageReferring;
             // the same for the map of referring controls
 
-        // TODO: To avoid this construct above, and to have a cleaner 
implementation, an class encapsulating the
+        // TODO: To avoid this construct above, and to have a cleaner 
implementation, a class encapsulating the
         // export of a single page should be introduced.
 
         typedef std::map<css::uno::Reference<css::beans::XPropertySet>, 
sal_Int32> MapPropertySet2Int;
diff --git a/xmloff/source/forms/propertyexport.cxx 
b/xmloff/source/forms/propertyexport.cxx
index 16cd00ada288..7c9340657ad7 100644
--- a/xmloff/source/forms/propertyexport.cxx
+++ b/xmloff/source/forms/propertyexport.cxx
@@ -243,7 +243,7 @@ namespace xmloff
     {
         DBG_CHECK_PROPERTY( _rPropertyName, OUString );
 
-        // no try-catch here, this would be to expensive. The outer scope has 
to handle exceptions (which should not
+        // no try-catch here, this would be too expensive. The outer scope has 
to handle exceptions (which should not
         // happen if we're used correctly :)
 
         // this is way simple, as we don't need to convert anything (the 
property already is a string)
diff --git a/xmloff/source/forms/propertyexport.hxx 
b/xmloff/source/forms/propertyexport.hxx
index 6cd35a2ba4e4..e1779d041b6b 100644
--- a/xmloff/source/forms/propertyexport.hxx
+++ b/xmloff/source/forms/propertyexport.hxx
@@ -54,7 +54,7 @@ namespace xmloff
     //= OPropertyExport
     /** provides export related tools for attribute handling
 
-        <p>(The name is somewhat misleading. It's not only a PropertyExport, 
but in real a ElementExport.
+        <p>(The name is somewhat misleading. It's not only a PropertyExport, 
but in real an ElementExport.
         Anyway.)</p>
     */
     class OPropertyExport
@@ -195,7 +195,7 @@ namespace xmloff
             const OUString& _rPropertyName,
             const sal_Int32 _nDefault);
 
-        /** add an attribute which is represented by a enum property to the 
export context
+        /** add an attribute which is represented by an enum property to the 
export context
 
             @param _nNamespaceKey
                 the key of the namespace to use for the attribute name. Is 
used with the namespace map
diff --git a/xmloff/source/forms/propertyimport.hxx 
b/xmloff/source/forms/propertyimport.hxx
index f5c67fb4e179..2f95767a5721 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -121,7 +121,7 @@ namespace xmloff
             const OUString& _rLocalName,
             const OUString& _rValue);
 
-        /** determine if the element imported by the object had an given 
attribute.
+        /** determine if the element imported by the object had a given 
attribute.
             <p>Please be aware of the fact that the name given must be a local 
name, i.e. not contain a namespace.
             All form relevant attributes are in the same namespace, so this 
would be an redundant information.</p>
         */
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx
index 8e86e80dcf46..79f8a5f09b45 100644
--- a/xmloff/source/style/xmlimppr.cxx
+++ b/xmloff/source/style/xmlimppr.cxx
@@ -171,7 +171,7 @@ void SvXMLImportPropertyMapper::importXML(
                         sal_Int32 nReference = -1;
 
                         // if this is a multi attribute check if another 
attribute already set
-                        // this any. If so use this as a initial value
+                        // this any. If so use this as an initial value
                         if( ( nFlags & MID_FLAG_MERGE_PROPERTY ) != 0 )
                         {
                             const OUString aAPIName( 
maPropMapper->GetEntryAPIName( nIndex ) );
diff --git a/xmloff/source/text/XMLRedlineExport.cxx 
b/xmloff/source/text/XMLRedlineExport.cxx
index 7a8a7e832df0..e700de15670f 100644
--- a/xmloff/source/text/XMLRedlineExport.cxx
+++ b/xmloff/source/text/XMLRedlineExport.cxx
@@ -380,7 +380,7 @@ void XMLRedlineExport::ExportChangedRegion(
     if (aSuccessorData.hasElements())
     {
         // The only change that can be "undone" is an insertion -
-        // after all, you can't re-insert an deletion, but you can
+        // after all, you can't re-insert a deletion, but you can
         // delete an insertion. This assumption is asserted in
         // ExportChangeInfo(Sequence<PropertyValue>&).
         SvXMLElementExport aSecondChangeElem(
diff --git a/xmloff/source/text/XMLRedlineExport.hxx 
b/xmloff/source/text/XMLRedlineExport.hxx
index 22169d4a0b97..26b82f552696 100644
--- a/xmloff/source/text/XMLRedlineExport.hxx
+++ b/xmloff/source/text/XMLRedlineExport.hxx
@@ -143,11 +143,11 @@ private:
     void ExportChangedRegion(
         const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
 
-    /// export an change-info element (from a PropertySet)
+    /// export a change-info element (from a PropertySet)
     void ExportChangeInfo(
         const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
 
-    /// export an change-info element (from PropertyValues)
+    /// export a change-info element (from PropertyValues)
     void ExportChangeInfo(
         const css::uno::Sequence<css::beans::PropertyValue> & rValues);
 
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx 
b/xmloff/source/text/XMLTextFrameContext.cxx
index 4a7360abe482..64704cd9fbc6 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -708,7 +708,7 @@ void XMLTextFrameContext_Impl::Create()
     }
 
     // Make adding the shape to Z-Ordering dependent from if we are
-    // inside a inside_deleted_section (redlining). That is necessary
+    // inside an inside_deleted_section (redlining). That is necessary
     // since the shape will be removed again later. It would lead to
     // errors if it would stay inside the Z-Ordering. Thus, the
     // easiest way to solve that conflict is to not add it here.
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 3fbe2eaab4ff..09d569bfb5ee 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2441,7 +2441,7 @@ sal_Int32 XMLTextImportHelper::GetDataStyleKey(const 
OUString& sStyleName,
     // get appropriate context
 
 
-    // first check if it's a impress and draw only number format
+    // first check if it's an Impress and draw only number format
     // this is needed since its also a SvXMLNumFormatContext,
     // that was needed to support them for controls in impress/draw also
     const SdXMLNumberFormatImportContext* pSdNumStyle = dynamic_cast<const 
SdXMLNumberFormatImportContext*>( pStyle  );
diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx
index adf236bbeb98..b258e5bdbff0 100644
--- a/xmloff/source/text/txtimppr.cxx
+++ b/xmloff/source/text/txtimppr.cxx
@@ -176,7 +176,7 @@ void XMLTextImportPropertyMapper::FontFinished(
 }
 
 /** since the properties "CharFontFamilyName", "CharFontStyleName", 
"CharFontFamily",
-    "CharFontPitch" and "CharFontSet" and theire CJK and CTL counterparts are 
only
+    "CharFontPitch" and "CharFontSet" and their CJK and CTL counterparts are 
only
     usable as a union, we add defaults to all values that are not set as long 
as we
     have an "CharFontFamilyName"
 
diff --git a/xmloff/source/text/txtparaimphint.hxx 
b/xmloff/source/text/txtparaimphint.hxx
index 10771f6c7489..56e8823152e9 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -58,7 +58,7 @@ public:
     void SetEnd( const css::uno::Reference < css::text::XTextRange > & rPos ) 
{ xEnd = rPos; }
 
     // We don't use virtual methods to differ between the sub classes,
-    // because this seems to be to expensive if compared to inline methods.
+    // because this seems to be too expensive if compared to inline methods.
     sal_uInt8 GetType() const { return nType; }
     bool IsReference() { return XML_HINT_REFERENCE==nType; }
 };
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index b008606765b5..5deb7fe1a161 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -228,7 +228,7 @@ void XMLTextStyleContext::CreateAndInsert( bool bOverwrite )
     // tell the style about it's events (if applicable)
     if (m_xEventContext.is())
     {
-        // pass events into event suppplier
+        // pass events into event supplier
         Reference<document::XEventsSupplier> xEventsSupplier(xStyle,UNO_QUERY);
         m_xEventContext->SetEvents(xEventsSupplier);
         m_xEventContext.clear();
diff --git a/xmloff/source/transform/DocumentTContext.hxx 
b/xmloff/source/transform/DocumentTContext.hxx
index 1b8aaacc2693..24368170d7a0 100644
--- a/xmloff/source/transform/DocumentTContext.hxx
+++ b/xmloff/source/transform/DocumentTContext.hxx
@@ -33,7 +33,7 @@ public:
                            const OUString& rQName );
 
     // StartElement is called after a context has been constructed and
-    // before a elements context is parsed. It may be used for actions that
+    // before an elements context is parsed. It may be used for actions that
     // require virtual methods. The default is to do nothing.
     virtual void StartElement( const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList ) override;
 };
diff --git a/xmloff/source/transform/FormPropOASISTContext.cxx 
b/xmloff/source/transform/FormPropOASISTContext.cxx
index 0c88c3ba9ec9..e5b191ee9595 100644
--- a/xmloff/source/transform/FormPropOASISTContext.cxx
+++ b/xmloff/source/transform/FormPropOASISTContext.cxx
@@ -69,7 +69,7 @@ XMLTokenEnum XMLFormPropOASISTransformerContext::GetValueType(
 
     if( nPos == nLen )
     {
-        // It's a integer number
+        // It's an integer number
         if( bOverflow )
             eRet = XML_LONG;
         else if( nVal > (bNeg ? 32768UL : 32767UL) )
diff --git a/xmloff/source/transform/IgnoreTContext.hxx 
b/xmloff/source/transform/IgnoreTContext.hxx
index bc52692df426..07b12115543b 100644
--- a/xmloff/source/transform/IgnoreTContext.hxx
+++ b/xmloff/source/transform/IgnoreTContext.hxx
@@ -55,12 +55,12 @@ public:
                                    const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList ) override;
 
     // StartElement is called after a context has been constructed and
-    // before a elements context is parsed. It may be used for actions that
+    // before an elements context is parsed. It may be used for actions that
     // require virtual methods. The default is to do nothing.
     virtual void StartElement( const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList ) override;
 
     // EndElement is called before a context will be destructed, but
-    // after a elements context has been parsed. It may be used for actions
+    // after an elements context has been parsed. It may be used for actions
     // that require virtual methods. The default is to do nothing.
     virtual void EndElement() override;
 
diff --git a/xmloff/source/transform/MetaTContext.hxx 
b/xmloff/source/transform/MetaTContext.hxx
index 4695b2bb6a40..cc23333f1043 100644
--- a/xmloff/source/transform/MetaTContext.hxx
+++ b/xmloff/source/transform/MetaTContext.hxx
@@ -55,7 +55,7 @@ public:
                                    const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList ) override;
 
     // EndElement is called before a context will be destructed, but
-    // after a elements context has been parsed. It may be used for actions
+    // after an elements context has been parsed. It may be used for actions
     // that require virtual methods. The default is to do nothing.
     virtual void EndElement() override;
 
diff --git a/xmloff/source/transform/PersAttrListTContext.hxx 
b/xmloff/source/transform/PersAttrListTContext.hxx
index eca41609783f..5126c15b2d7c 100644
--- a/xmloff/source/transform/PersAttrListTContext.hxx
+++ b/xmloff/source/transform/PersAttrListTContext.hxx
@@ -69,12 +69,12 @@ public:
                                    const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList ) override;
 
     // StartElement is called after a context has been constructed and
-    // before a elements context is parsed. It may be used for actions that
+    // before an elements context is parsed. It may be used for actions that
     // require virtual methods. The default is to do nothing.
     virtual void StartElement( const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList ) override;
 
     // EndElement is called before a context will be destructed, but
-    // after a elements context has been parsed. It may be used for actions
+    // after an elements context has been parsed. It may be used for actions
     // that require virtual methods. The default is to do nothing.
     virtual void EndElement() override;
 
diff --git a/xmloff/source/transform/TransformerBase.cxx 
b/xmloff/source/transform/TransformerBase.cxx
index 23c32d8d0d95..db3cbfe629db 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -231,7 +231,7 @@ void SAL_CALL XMLTransformerBase::startElement( const 
OUString& rName,
             // Add namespace, but only if it is known.
             sal_uInt16 nKey = m_pNamespaceMap->AddIfKnown( aPrefix, rAttrValue 
);
             // If namespace is unknown, try to match a name with similar
-            // TC Id an version
+            // TC Id and version
             if( XML_NAMESPACE_UNKNOWN == nKey  )
             {
                 OUString aTestName( rAttrValue );
diff --git a/xmloff/source/transform/TransformerContext.hxx 
b/xmloff/source/transform/TransformerContext.hxx
index fe390630a63d..4f711e6a04ed 100644
--- a/xmloff/source/transform/TransformerContext.hxx
+++ b/xmloff/source/transform/TransformerContext.hxx
@@ -72,12 +72,12 @@ public:
                                    const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList );
 
     // StartElement is called after a context has been constructed and
-    // before a elements context is parsed. It may be used for actions that
+    // before an elements context is parsed. It may be used for actions that
     // require virtual methods. The default is to do nothing.
     virtual void StartElement( const css::uno::Reference< 
css::xml::sax::XAttributeList >& xAttrList );
 
     // EndElement is called before a context will be destructed, but
-    // after a elements context has been parsed. It may be used for actions
+    // after an elements context has been parsed. It may be used for actions
     // that require virtual methods. The default is to do nothing.
     virtual void EndElement();
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to