summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 17:11:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:16 +0100
commitf5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch)
treecda73db2df15d821e0587f345edd7587953bdbdf /xmloff
parentecf00403376d13355fcf6fb7cd36b3500f19fc69 (diff)
Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/txtflde.hxx2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx4
-rw-r--r--xmloff/source/core/xmlexp.cxx2
-rw-r--r--xmloff/source/core/xmlimp.cxx2
-rw-r--r--xmloff/source/draw/XMLGraphicsDefaultStyle.cxx2
-rw-r--r--xmloff/source/draw/XMLImageMapExport.cxx2
-rw-r--r--xmloff/source/draw/shapeexport2.cxx4
-rw-r--r--xmloff/source/draw/xexptran.cxx2
-rw-r--r--xmloff/source/forms/elementimport.cxx2
-rw-r--r--xmloff/source/forms/layerexport.cxx2
-rw-r--r--xmloff/source/meta/xmlversion.cxx2
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
-rw-r--r--xmloff/source/style/xmlstyle.cxx2
-rw-r--r--xmloff/source/text/XMLChangedRegionImportContext.hxx2
-rw-r--r--xmloff/source/text/txtfldi.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.cxx2
16 files changed, 18 insertions, 18 deletions
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 524f8f8839af..a83b61ed02cc 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -277,7 +277,7 @@ protected:
sal_Bool bOmitEmpty = sal_False, /// omit attribute, if value is empty
sal_uInt16 nPrefix = XML_NAMESPACE_TEXT); /// attribute name prefix
- /// export a string attribute taht gets a QName value
+ /// export a string attribute that gets a QName value
void ProcessString(
enum ::xmloff::token::XMLTokenEnum eXmlName, /// attribute token (namespace text)
sal_uInt16 nValuePrefix,
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 833a3b0f4196..d94305abc1fd 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1528,7 +1528,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
if( mxAdditionalShapes.is())
{
// can't call exportShapes with all shapes because the
- // initialisation happend with the complete draw page and not
+ // initialisation happened with the complete draw page and not
// the XShapes object used here. Thus the shapes have to be
// exported one by one
UniReference< XMLShapeExport > rShapeExport = mrExport.GetShapeExport();
@@ -1582,7 +1582,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
}
// can't call collectShapesAutoStyles with all shapes because
- // the initialisation happend with the complete draw page and
+ // the initialisation happened with the complete draw page and
// not the XShapes object used here. Thus the shapes have to be
// exported one by one
UniReference< XMLShapeExport > rShapeExport = mrExport.GetShapeExport();
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 3d0f92342b14..81afbf314543 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -2359,7 +2359,7 @@ uno::Reference< embed::XStorage > SvXMLExport::GetTargetStorage()
return mpImpl->mxTargetStorage;
}
-/// returns the currently configured default version for odf export
+/// returns the currently configured default version for ODF export
SvtSaveOptions::ODFDefaultVersion SvXMLExport::getDefaultVersion() const
{
if( mpImpl )
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 6cc7330bedcc..9962db56fd89 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -717,7 +717,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
pContext->AddRef();
- // Remeber old namespace map.
+ // Remember old namespace map.
if( pRewindMap )
pContext->SetRewindMap( pRewindMap );
diff --git a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
index c6216a443d8e..f66dcd655e31 100644
--- a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
+++ b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
@@ -92,7 +92,7 @@ void XMLGraphicsDefaultStyle::SetDefaults()
if( !xDefaults.is() )
return;
// SJ: #i114750#
- sal_Bool bWordWrapDefault = sal_True; // initializing with correct odf fo:wrap-option default
+ sal_Bool bWordWrapDefault = sal_True; // initializing with correct ODF fo:wrap-option default
sal_Int32 nUPD( 0 );
sal_Int32 nBuild( 0 );
const bool bBuildIdFound = GetImport().getBuildIds( nUPD, nBuild );
diff --git a/xmloff/source/draw/XMLImageMapExport.cxx b/xmloff/source/draw/XMLImageMapExport.cxx
index 7f757657f51d..80efd4a1c955 100644
--- a/xmloff/source/draw/XMLImageMapExport.cxx
+++ b/xmloff/source/draw/XMLImageMapExport.cxx
@@ -127,7 +127,7 @@ void XMLImageMapExport::Export(
}
// else: container is empty -> nothing to do
}
- // else: no container -> nothign to do
+ // else: no container -> nothing to do
}
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx
index f3b11f5fa458..4f00fe33305a 100644
--- a/xmloff/source/draw/shapeexport2.cxx
+++ b/xmloff/source/draw/shapeexport2.cxx
@@ -177,7 +177,7 @@ void XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(::basegfx::B2DTuple& rTR
aStr = sStringBuffer.makeStringAndClear();
mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_HEIGHT, aStr);
- // decide if transformation is neccessary
+ // decide if transformation is necessary
sal_Bool bTransformationIsNeccessary(fTRShear != 0.0 || fTRRotate != 0.0);
if(bTransformationIsNeccessary)
@@ -1688,7 +1688,7 @@ void XMLShapeExport::ImpExportOLE2Shape(
}
else
{
- // export empty href for empty placeholders to be valid odf
+ // export empty href for empty placeholders to be valid ODF
OUString sEmptyURL;
mrExport.AddAttribute(XML_NAMESPACE_XLINK, XML_HREF, sEmptyURL );
diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx
index bb53c66350c4..ed6482194f46 100644
--- a/xmloff/source/draw/xexptran.cxx
+++ b/xmloff/source/draw/xexptran.cxx
@@ -1468,7 +1468,7 @@ SdXMLImExSvgDElement::SdXMLImExSvgDElement(const SdXMLImExViewBox& rViewBox,
mbIsClosed( false ),
mbIsCurve( false ),
// fdo#47406 - handle writing svg:d path slightly different for
- // old odf versions and ODF1.2 compat mode - since ~all the legacy
+ // old ODF versions and ODF1.2 compat mode - since ~all the legacy
// ODF ecosystem interprets relative svg:d paths incorrectly,
// write out absolute paths in those cases.
mbRelative( rExport.getDefaultVersion() >= SvtSaveOptions::ODFVER_012 &&
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 559b42764cd0..2f037ad72936 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1567,7 +1567,7 @@ namespace xmloff
{
// In OpenOffice.org 2.0, we changed the implementation of the css.form.component.TextField (the model of a text field control),
// so that it now uses another default control. So if we encounter a text field where the *old* default
- // control property is writting, we are not allowed to use it
+ // control property is writing, we are not allowed to use it
PropertyValueArray::iterator aDefaultControlPropertyPos = ::std::find_if(
m_aValues.begin(),
m_aValues.end(),
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index af886136ec0d..13e0ed37a93b 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -377,7 +377,7 @@ namespace xmloff
// (This behaviour of examineForms is a performance optimization, to not force
// the page to create a forms container just to see that it's empty.)
- // So, in such a case, seekPage is considered to be successfull, too, though the
+ // So, in such a case, seekPage is considered to be successful, too, though the
// page was not yet known
Reference< XFormsSupplier2 > xFormsSupp( _rxDrawPage, UNO_QUERY );
if ( xFormsSupp.is() && !xFormsSupp->hasForms() )
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index 3b13701cbb21..ab6ed5402b7c 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -363,7 +363,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt
Reference< io::XOutputStream > xOut = xVerStream->getOutputStream();
if ( !xOut.is() )
- throw uno::RuntimeException(); // the stream was successfuly opened for writing already
+ throw uno::RuntimeException(); // the stream was successfully opened for writing already
Reference< io::XActiveDataSource > xSrc( xWriter, uno::UNO_QUERY );
xSrc->setOutputStream(xOut);
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 66e0c121f380..362b5d94256b 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -1737,7 +1737,7 @@ void SvXMLNumFmtExport::Export( sal_Bool bIsAutoStyle )
DBG_ASSERT((pFormat->GetType() & NUMBERFORMAT_DEFINED) != 0, "a not user defined numberformat found");
// user-defined and used formats are exported
ExportFormat_Impl( *pFormat, nKey );
- // if it is a user-defined Format it will be added else nothing will hapen
+ // if it is a user-defined Format it will be added else nothing will happen
pUsedList->SetUsed(nKey);
}
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 51d391dcbdb6..c54d7ffbe5f5 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -444,7 +444,7 @@ SvXMLStyleContext *SvXMLStylesContext::CreateStyleChildContext( sal_uInt16 p_nPr
case XML_TOK_STYLE_PAGE_MASTER:
case XML_TOK_STYLE_DEFAULT_PAGE_LAYOUT:
{
- //there is not page family in odf now, so I specify one for it
+ //there is not page family in ODF now, so I specify one for it
sal_Bool bDefaultStyle = XML_TOK_STYLE_DEFAULT_PAGE_LAYOUT == nToken
? sal_True: sal_False;
pStyle = new PageStyleContext( GetImport(), p_nPrefix,
diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx
index 375fdb61344c..7a8e3a840db8 100644
--- a/xmloff/source/text/XMLChangedRegionImportContext.hxx
+++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx
@@ -43,7 +43,7 @@ class XMLChangedRegionImportContext : public SvXMLImportContext
const ::rtl::OUString sEmpty;
/// if we replace the current XTextCursor/XText by the ones for
- /// the redline, we remeber the old cursor here.
+ /// the redline, we remember the old cursor here.
::com::sun::star::uno::Reference<
::com::sun::star::text::XTextCursor> xOldCursor;
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 90d23a02502b..245d7e4001a3 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -711,7 +711,7 @@ void XMLSenderFieldImportContext::ProcessAttribute(
bool bVal(false);
bool const bRet = ::sax::Converter::convertBool(bVal, sAttrValue);
- // set bFixed if successfull
+ // set bFixed if successful
if (bRet) {
bFixed = bVal;
}
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 4d3eaf426e68..67c8e5bb39a0 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -307,7 +307,7 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName,
if( !xContext.is() )
xContext = new XMLTransformerContext( *this, rName );
- // Remeber old namespace map.
+ // Remember old namespace map.
if( pRewindMap )
xContext->SetRewindMap( pRewindMap );