summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-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
17 files changed, 20 insertions, 20 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 45b8f1734d7d..03a07458e56e 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 43b36026d331..40ca17543de1 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 7f15295eaba2..ff8db668221b 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -1487,7 +1487,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 231b8bcdef75..aea70327844b 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 9a8396dd66d9..6c9b6d5c9759 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -448,7 +448,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;
@@ -1269,7 +1269,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 a0b333d448e0..e2d24f52fe90 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 e63739088f6a..acf5c3ea5cc3 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 10b80b788df5..0a64db73d42d 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 98cfd206b0bc..eb152cc05b42 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 css::uno::Reference< css::beans::XPropertySet >& _rxControlModel
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 9aa4d881122c..0577a801a095 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 eccf2003e1d8..314b9d64cc28 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 css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual void StartElement( const css::uno::Reference< css::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 0895a94f303f..7f8a33e7fce5 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -980,7 +980,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 af5c290c6114..2e53ecfece77 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -2638,7 +2638,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 9afcb432d69f..53b6037fcbdc 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2627,7 +2627,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 eab8ae63aa54..2b7bbfffeebd 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,