summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /xmloff
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/dtd/drawing.mod2
-rw-r--r--xmloff/inc/txtflde.hxx2
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.cxx2
-rw-r--r--xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx2
-rw-r--r--xmloff/source/core/xmlexp.cxx2
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
-rw-r--r--xmloff/source/draw/ximpstyl.cxx4
-rw-r--r--xmloff/source/forms/attriblistmerge.hxx2
-rw-r--r--xmloff/source/forms/elementimport.cxx6
-rw-r--r--xmloff/source/forms/formattributes.hxx2
-rw-r--r--xmloff/source/forms/formcellbinding.hxx2
-rw-r--r--xmloff/source/forms/layerexport.hxx2
-rw-r--r--xmloff/source/forms/officeforms.hxx2
-rw-r--r--xmloff/source/style/prstylei.cxx2
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
-rw-r--r--xmloff/source/text/txtflde.cxx2
-rw-r--r--xmloff/source/text/txtimp.cxx2
-rw-r--r--xmloff/source/text/txtparai.cxx2
-rw-r--r--xmloff/source/xforms/TokenContext.hxx2
19 files changed, 22 insertions, 22 deletions
diff --git a/xmloff/dtd/drawing.mod b/xmloff/dtd/drawing.mod
index 42a601382129..c38da67d3376 100644
--- a/xmloff/dtd/drawing.mod
+++ b/xmloff/dtd/drawing.mod
@@ -35,7 +35,7 @@
<!ENTITY % layerName "CDATA">
<!ENTITY % table-background "table:table-background (true | false) #IMPLIED">
-<!-- commont presentation shape attributes -->
+<!-- common presentation shape attributes -->
<!ENTITY % presentation-style-name "presentation:style-name %styleName; #IMPLIED">
<!ENTITY % presentation-classes "(title|outline|subtitle|text|graphic|object|chart|table|orgchart|page|notes)" >
<!-- ENTITY % presentation-class "presentation:class %presentation-classes; #IMPLIED" -->
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 10f1e091f0d9..b48e0e5071f4 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -192,7 +192,7 @@ public:
::com::sun::star::text::XText > & rText);
/// export all field declarations, or only those that have been used?
- /// Calling this method will reset the list of used field declataions.
+ /// Calling this method will reset the list of used field declarations.
void SetExportOnlyUsedFieldDeclarations(
bool bExportOnlyUsed = true);
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 8d30f0845024..e7e28fe43230 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -462,7 +462,7 @@ void SchXMLAxisContext::CreateAxis()
// Compatibility option: starting from LibreOffice 5.1 the rotated
// layout is preferred to staggering for axis labels.
// So the import default value for having compatibility with ODF
- // documents created with erlier LibreOffice versions is `true`.
+ // documents created with earlier LibreOffice versions is `true`.
if( GetImport().getGeneratorVersion() != SvXMLImport::ProductVersionUnknown )
m_xAxisProps->setPropertyValue("TryStaggeringFirst", aTrueBool );
diff --git a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
index 0e2a2cbc2a24..e6bf7401f2f2 100644
--- a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
+++ b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx
@@ -157,7 +157,7 @@ void UnoInterfaceToUniqueIdentifierMapper::insertReference( const OUString& rIde
while(nLength--)
{
if( (*p < '0') || (*p > '9') )
- return; // a custom id, that will never conflict with genereated id's
+ return; // a custom id, that will never conflict with generated id's
p++;
}
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index daf319fa7728..4eb3bbffd12b 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -1486,7 +1486,7 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
if( mnExportFlags & SvXMLExportFlags::SCRIPTS )
_ExportScripts();
- // font declerations
+ // font declarations
if( mnExportFlags & SvXMLExportFlags::FONTDECLS )
_ExportFontDecls();
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index d98b12bab154..482ae9b2ffd6 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -453,7 +453,7 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
// * control models are allowed to have an Align of "void"
// * the Default for control model's Align is TextAlign_LEFT
// * defaults for style properties are not written, but we need to write the "left",
- // because we need to distiguish this "left" from the case where not align attribute
+ // because we need to distinguish this "left" from the case where not align attribute
// is present which means "void"
if ( xPropSetInfo->hasPropertyByName( "ParaAdjust" )
&& ( beans::PropertyState_DEFAULT_VALUE == xPropState->getPropertyState( "ParaAdjust" ) )
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index 84415738adf9..291040d71aa1 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -451,7 +451,7 @@ SdXMLPresentationPageLayoutContext::SdXMLPresentationPageLayoutContext(
: SvXMLStyleContext(rImport, nPrfx, rLName, xAttrList, XML_STYLE_FAMILY_SD_PRESENTATIONPAGELAYOUT_ID),
mnTypeId( 20 ) // AUTOLAYOUT_NONE
{
- // set family to somethiong special at SvXMLStyleContext
+ // set family to something special at SvXMLStyleContext
// for differences in search-methods
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
@@ -1272,7 +1272,7 @@ static bool canSkipReset(const OUString &rName, const XMLPropStyleContext* pProp
bool bNewStyleTextAutoGrowHeight(false);
property->maValue >>= bNewStyleTextAutoGrowHeight;
if (bNewStyleTextAutoGrowHeight == bOldStyleTextAutoGrowHeight)
- bCanSkipReset = true;;
+ bCanSkipReset = true;
break;
}
}
diff --git a/xmloff/source/forms/attriblistmerge.hxx b/xmloff/source/forms/attriblistmerge.hxx
index fbe3fb80915c..5788361f8d7e 100644
--- a/xmloff/source/forms/attriblistmerge.hxx
+++ b/xmloff/source/forms/attriblistmerge.hxx
@@ -36,7 +36,7 @@ namespace xmloff
> OAttribListMerger_Base;
/** implements the XAttributeList list by merging different source attribute lists
- <p>Currently, the time behavious is O(n), though it would be possible to change it to O(log n).</p>
+ <p>Currently, the time behaviour is O(n), though it would be possible to change it to O(log n).</p>
*/
class OAttribListMerger : public OAttribListMerger_Base
{
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 1ecf02e38706..7ebc5c2d933d 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -965,7 +965,7 @@ namespace xmloff
if ( !m_xElement.is() )
return;
- // register our control with it's id
+ // register our control with its id
if (!m_sControlId.isEmpty())
m_rFormImport.registerControlId(m_xElement, m_sControlId);
// it's allowed to have no control id. In this case we're importing a column
@@ -1520,7 +1520,7 @@ namespace xmloff
rtl::Reference < XMLTextImportHelper > xTextImportHelper( m_rContext.getGlobalContext().GetTextImport() );
if ( m_xCursor.is() )
{
- // delete the newline which has been imported errornously
+ // delete the newline which has been imported erroneously
// TODO (fs): stole this code somewhere - why don't we fix the text import??
m_xCursor->gotoEnd( sal_False );
m_xCursor->goLeft( 1, sal_True );
@@ -1981,7 +1981,7 @@ namespace xmloff
// split up the value string
if (!_rValue.isEmpty())
{
- // For the moment, we build a vector instead of a Sequence. It's easier to handle because of it's
+ // For the moment, we build a vector instead of a Sequence. It's easier to handle because of its
// push_back method
::std::vector< OUString > aElements;
// estimate the number of tokens
diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx
index 4897f7d103a0..dfb92692ecd1 100644
--- a/xmloff/source/forms/formattributes.hxx
+++ b/xmloff/source/forms/formattributes.hxx
@@ -253,7 +253,7 @@ namespace xmloff
// entries which are special to some value types
const SvXMLEnumMapEntry* pEnumMap; // the enum map, if appliable
- bool bInverseSemantics; // for booleanss: attribute and property value have the same or an inverse semantics?
+ bool bInverseSemantics; // for booleans: attribute and property value have the same or an inverse semantics?
AttributeAssignment() : pEnumMap(nullptr), bInverseSemantics(false) { }
};
diff --git a/xmloff/source/forms/formcellbinding.hxx b/xmloff/source/forms/formcellbinding.hxx
index e58205e98a41..64bda9e1cc0d 100644
--- a/xmloff/source/forms/formcellbinding.hxx
+++ b/xmloff/source/forms/formcellbinding.hxx
@@ -46,7 +46,7 @@ namespace xmloff
public:
/** determines whether the given control model lives in a spreadsheet document
<p>If this method returns <FALSE/>, you cannot instantiate a CellBindingHelper with
- this model, since then no of it's functionality will be available.</p>
+ this model, since then no of its functionality will be available.</p>
*/
static bool livesInSpreadsheetDocument(
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxControlModel
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index fa2042623453..e1cbd3634468 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -267,7 +267,7 @@ namespace xmloff
/** ensures that the number format of the given control exist in our own formats supplier.
- <p>The given control is examined for it's format (i.e. it's FormatKey/FormatsSupplier properties),
+ <p>The given control is examined for its format (i.e. it's FormatKey/FormatsSupplier properties),
and the format is added (if necessary) to m_xControlNumberFormats</p>.
@return
diff --git a/xmloff/source/forms/officeforms.hxx b/xmloff/source/forms/officeforms.hxx
index e672d71e905e..9ff80d8c27fd 100644
--- a/xmloff/source/forms/officeforms.hxx
+++ b/xmloff/source/forms/officeforms.hxx
@@ -40,7 +40,7 @@ namespace xmloff
OFormsRootImport( SvXMLImport& _rImport, sal_uInt16 _nPrfx, const OUString& _rLocalName);
virtual ~OFormsRootImport();
- // SvXMLImportContext overriabled
+ // SvXMLImportContext overridable
virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList ) override;
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rxAttrList ) override;
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index 2fe2953a8b40..44229af18de7 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -448,7 +448,7 @@ void XMLPropStyleContext::Finish( bool bOverwrite )
if( sParent != mxStyle->getParentStyle() )
{
// this may except if setting the parent style forms a
- // circle in the style depencies; especially if the parent
+ // circle in the style dependencies; especially if the parent
// style is the same as the current style
try
{
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 5bbbdd3063a0..e0cc35af4da8 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -981,7 +981,7 @@ static bool lcl_IsDefaultDateFormat( const SvNumberformat& rFormat, bool bSystem
void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey,
sal_uInt16 nPart, bool bDefPart )
{
- //! for the default part, pass the coditions from the other parts!
+ //! for the default part, pass the conditions from the other parts!
// element name
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 8ed5bff5ccc5..5f8ebcd65a3d 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -2631,7 +2631,7 @@ void XMLTextFieldExport::ProcessDateTime(enum XMLTokenEnum eName,
OUStringBuffer aBuffer;
if (bIsDuration)
{
- // date/time durationM handle bOmitDurationIfZero
+ // date/time duration handle bOmitDurationIfZero
if (!bOmitDurationIfZero || !::rtl::math::approxEqual(dValue, 0.0))
{
::sax::Converter::convertDuration(aBuffer, dValue);
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 5b740f1b6717..5033fa10db5f 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2634,7 +2634,7 @@ void XMLTextImportHelper::ConnectFrameChains(
{
if((*j).equals(rFrmName))
{
- // The previuous frame must exist, because it existing than
+ // The previous frame must exist, because it existing than
// inserting the entry
rFrmPropSet->setPropertyValue(s_ChainPrevName, makeAny(*i));
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index 0d4b7e3c83e1..f2ac9f27bb14 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -2290,7 +2290,7 @@ XMLNumberedParaContext::XMLNumberedParaContext(
break;
case XML_TOK_TEXT_NUMBERED_PARAGRAPH_CONTINUE_NUMBERING:
// this attribute is deprecated
-// ContinuteNumbering = IsXMLToken(rValue, XML_TRUE);
+// ContinueNumbering = IsXMLToken(rValue, XML_TRUE);
break;
case XML_TOK_TEXT_NUMBERED_PARAGRAPH_START_VALUE:
{
diff --git a/xmloff/source/xforms/TokenContext.hxx b/xmloff/source/xforms/TokenContext.hxx
index 8a8531063556..768b058872cb 100644
--- a/xmloff/source/xforms/TokenContext.hxx
+++ b/xmloff/source/xforms/TokenContext.hxx
@@ -59,7 +59,7 @@ public:
/** call HandleChild for each child element in the token map;
* create a warning for all others. Classes that wish to override
- * CreateChildCotnenxt may want to call the parent method for
+ * CreateChildContext may want to call the parent method for
* handling of defaults. */
virtual SvXMLImportContext* CreateChildContext(
sal_uInt16 nPrefix,