diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /xmloff | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/dtd/datastyl.mod | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/animationimport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtflde.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/StyleOOoTContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/xmloff/dtd/datastyl.mod b/xmloff/dtd/datastyl.mod index ea4400750ce2..9a5dad63b83a 100644 --- a/xmloff/dtd/datastyl.mod +++ b/xmloff/dtd/datastyl.mod @@ -95,7 +95,7 @@ <!ATTLIST number:text-style style:name %styleName; #REQUIRED> <!-- The style:family is redundant and therefore should not exist at all --> -<!-- Since OOo 1.0/1.1 is exporting this attribute is is an #IMPLIED --> +<!-- Since OOo 1.0/1.1 is exporting this attribute it is an #IMPLIED --> <!-- one to avoid validation errors. --> <!ATTLIST number:number-style style:family CDATA #IMPLIED> <!ATTLIST number:currency-style style:family CDATA #IMPLIED> diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 8b35d5d5da0c..c5b41a506e40 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -1295,7 +1295,7 @@ lcl_AddGrddl(SvXMLExport & rExport, const sal_Int32 /*nExportMode*/) { // check version >= 1.2 switch (rExport.getDefaultVersion()) { - case SvtSaveOptions::ODFVER_011: // fall thru + case SvtSaveOptions::ODFVER_011: // fall through case SvtSaveOptions::ODFVER_010: return; default: break; } diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 66f379005f96..8392356fb996 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -882,7 +882,7 @@ void AnimationNodeContext::init_node( const ::com::sun::star::uno::Reference< : } } - // fall through intented! + // fall through intended! case ANA_Target: { { diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 1ef76026e5b8..f0a8db4bf466 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -1804,7 +1804,7 @@ void XMLShapeExport::ImpExportGroupShape( const uno::Reference< drawing::XShape ImpExportEvents( xShape ); ImpExportGluePoints( xShape ); - // #89764# if export of position is supressed for group shape, + // #89764# if export of position is suppressed for group shape, // positions of contained objects should be written relative to // the upper left edge of the group. awt::Point aUpperLeft; @@ -3426,7 +3426,7 @@ void XMLShapeExport::ImpExport3DSceneShape( const uno::Reference< drawing::XShap // write 3DSceneLights export3DLamps( xPropSet ); - // #89764# if export of position is supressed for group shape, + // #89764# if export of position is suppressed for group shape, // positions of contained objects should be written relative to // the upper left edge of the group. awt::Point aUpperLeft; diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 2734a3fd48b4..494fe0095350 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -1699,7 +1699,7 @@ namespace xmloff // in general, all control types need to export the control id m_nIncludeCommon |= CCA_CONTROL_ID; - // is is a control bound to a calc cell? + // is it a control bound to a calc cell? if ( FormCellBindingHelper::livesInSpreadsheetDocument( m_xProps ) ) { FormCellBindingHelper aHelper( m_xProps, NULL ); diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index 36c55162e45a..f1f8442dce8b 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -2316,7 +2316,7 @@ void XMLTextFieldExport::ExportMetaField( bool doExport(!i_bAutoStyles); // do not export element if autostyles // check version >= 1.2 switch (GetExport().getDefaultVersion()) { - case SvtSaveOptions::ODFVER_011: // fall thru + case SvtSaveOptions::ODFVER_011: // fall through case SvtSaveOptions::ODFVER_010: doExport = false; break; default: break; } diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 5307ce0d2aa1..05bbfb78a8c4 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -2053,7 +2053,7 @@ void XMLTextImportHelper::SetHyperlink( { // The API treats events at hyperlinks differently from most // other properties: You have to set a name replace with the - // events in it. The easiest way to to this is to 1) get + // events in it. The easiest way to do this is to 1) get // events, 2) set new ones, and 3) then put events back. uno::Reference<XNameReplace> const xReplace( xPropSet->getPropertyValue(s_HyperLinkEvents), UNO_QUERY); diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index c13e687a0b48..07b2ab4bc7eb 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3722,7 +3722,7 @@ void XMLTextParagraphExport::exportMeta( bool doExport(!i_bAutoStyles); // do not export element if autostyles // check version >= 1.2 switch (GetExport().getDefaultVersion()) { - case SvtSaveOptions::ODFVER_011: // fall thru + case SvtSaveOptions::ODFVER_011: // fall through case SvtSaveOptions::ODFVER_010: doExport = false; break; default: break; } diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index 9e934fb9b921..3a7c16db35d4 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -336,7 +336,7 @@ XMLTypedPropertiesOOoTContext_Impl XML_PROP_TYPE_END==m_aPropTypes[1] || (i<MAX_PROP_TYPES && XML_PROP_TYPE_END!=m_aPropTypes[i]) ) ) { - OString aTmp("Didnt't find property: "); + OString aTmp("Didn't find property: "); const OUString& rPrefix = GetTransformer().GetNamespaceMap().GetPrefixByKey( nPrefix ); aTmp += OString( rPrefix.getStr(), rPrefix.getLength(), diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index f74c6877623f..ba7e37cd5287 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -1331,7 +1331,7 @@ bool XMLTransformerBase::ConvertURIToOOo( OUString& rURI, switch( rURI[0] ) { case '/': - // no rel path; nothing to to + // no rel path; nothing to do break; case '.': // a rel path |