diff options
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLChangedRegionImportContext.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLSectionExport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLSectionImportContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLSectionImportContext.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtflde.cxx | 14 | ||||
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtparai.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/text/txtprmap.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtvfldi.cxx | 6 |
12 files changed, 26 insertions, 26 deletions
diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx index 8383836cc801..582a77078493 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.hxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx @@ -47,7 +47,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/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx index 3414d6ca0008..aded76027671 100644 --- a/xmloff/source/text/XMLSectionExport.cxx +++ b/xmloff/source/text/XMLSectionExport.cxx @@ -891,7 +891,7 @@ void XMLSectionExport::ExportBaseIndexSource( aAny = xLevelTemplates->getByIndex(i); aAny >>= aTemplateSequence; - // export the sequence (abort export if an error occured; #91214#) + // export the sequence (abort export if an error occurred; #91214#) sal_Bool bResult = ExportIndexTemplate(eType, i, rPropertySet, aTemplateSequence); if ( !bResult ) diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx index 54f61844dfb9..6045dbfb8954 100644 --- a/xmloff/source/text/XMLSectionImportContext.cxx +++ b/xmloff/source/text/XMLSectionImportContext.cxx @@ -181,7 +181,7 @@ void XMLSectionImportContext::StartElement( xPropSet->setPropertyValue( sIsVisible, aAny ); // #97450# hidden sections must be hidden on reload - // For backwards compatibilty, set flag only if it is + // For backwards compatibility, set flag only if it is // present if( bIsCurrentlyVisibleOK ) { diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx index 1622f776991d..f3141193aafa 100644 --- a/xmloff/source/text/XMLSectionImportContext.hxx +++ b/xmloff/source/text/XMLSectionImportContext.hxx @@ -45,7 +45,7 @@ class XMLTextImportHelper; */ class XMLSectionImportContext : public SvXMLImportContext { - /// start position; ranges aquired via getStart(),getEnd() don't move + /// start position; ranges acquired via getStart(),getEnd() don't move ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange> xStartRange; diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index ac27044d003a..6e9eb07fb18b 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -554,7 +554,7 @@ void XMLTextFrameContext_Impl::Create( sal_Bool /*bHRefOrBase64*/ ) } else { - // it should be an own OOo link that has no storage persistance + // it should be an own OOo link that has no storage persistence xPropSet = GetImport().GetTextImport() ->createAndInsertOOoLink( GetImport(), sURL, diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index 26aaf1e0205c..2cc05815454e 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -752,7 +752,7 @@ sal_Bool XMLTextFieldExport::IsStringField( case FIELD_ID_DRAW_FOOTER: case FIELD_ID_DRAW_DATE_TIME: default: - DBG_ERROR("unkown field type/field has no content"); + DBG_ERROR("unknown field type/field has no content"); return sal_True; // invalid info; string in case of doubt } } @@ -971,7 +971,7 @@ void XMLTextFieldExport::ExportFieldAutoStyle( case FIELD_ID_UNKNOWN: default: - DBG_ERROR("unkown field type!"); + DBG_ERROR("unknown field type!"); // ignore -> no format for unkowns break; } @@ -1869,7 +1869,7 @@ void XMLTextFieldExport::ExportFieldHelper( case FIELD_ID_UNKNOWN: default: - DBG_ERROR("unkown field type encountered!"); + DBG_ERROR("unknown field type encountered!"); // always export content GetExport().Characters(sPresentation); } @@ -2973,8 +2973,8 @@ enum XMLTokenEnum XMLTextFieldExport::MapPlaceholderType(sal_uInt16 nType) break; default: - // unkown placeholder: XML_TEXT - DBG_ERROR("unkown placeholder type"); + // unknown placeholder: XML_TEXT + DBG_ERROR("unknown placeholder type"); } return eType; @@ -3115,7 +3115,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapChapterDisplayFormat(sal_Int16 nFormat) eName = XML_PLAIN_NUMBER; break; default: - DBG_ERROR("unkown chapter display format"); + DBG_ERROR("unknown chapter display format"); eName = XML_TOKEN_INVALID; break; } @@ -3225,7 +3225,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapReferenceSource(sal_Int16 nType) eElement = XML_NOTE_REF; break; default: - DBG_ERROR("unkown reference source"); + DBG_ERROR("unknown reference source"); break; } diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 090f7fc44680..2da067eab248 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -715,7 +715,7 @@ void XMLSenderFieldImportContext::ProcessAttribute( sal_Bool bRet = GetImport().GetMM100UnitConverter(). convertBool(bVal, sAttrValue); - // set bFixed if successfull + // set bFixed if successful if (bRet) { bFixed = bVal; } @@ -1390,7 +1390,7 @@ SvXMLImportContext* XMLDatabaseFieldImportContext::CreateChildContext( } } - // we call ProcessAttribute in order to set bValid appropriatly + // we call ProcessAttribute in order to set bValid appropriately ProcessAttribute( XML_TOKEN_INVALID, OUString() ); } @@ -2314,7 +2314,7 @@ void XMLFileNameImportContext::ProcessAttribute( break; } default: - ; // unkown attribute: ignore + ; // unknown attribute: ignore break; } } @@ -3135,7 +3135,7 @@ void XMLDdeFieldDeclImportContext::StartElement( UNO_QUERY); if( xFactory.is() ) { - /* #i6432# There might be multiple occurances of one DDE + /* #i6432# There might be multiple occurrences of one DDE declaration if it is used in more than one of header/footer/body. createInstance will throw an exception if we try to create the second, third, etc. instance of such a diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index fdd6324bcf32..08c042c825b5 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -2094,7 +2094,7 @@ void XMLTextImportHelper::SetOutlineStyles( sal_Bool bSetEmptyLevels ) const sal_Int32 nCount = m_pImpl->m_xChapterNumbering->getCount(); // --> OD 2009-11-13 #i106218# - // First collect all paragraph styles choosen for assignment to each + // First collect all paragraph styles chosen for assignment to each // list level of the outline style, then perform the intrinsic assignment. // Reason: The assignment of a certain paragraph style to a list level // of the outline style causes side effects on the children diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index c57a6a4bbf88..2b07952c2fef 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -2169,7 +2169,7 @@ void XMLTextParagraphExport::exportParagraph( { // For the auto styles, the multi property set helper is only used // if hard attributes are existing. Therfor, it seems to be a better - // strategy to have the TextSection property seperate, because otherwise + // strategy to have the TextSection property separate, because otherwise // we always retrieve the style names even if they are not required. if( bAutoStyles ) { @@ -3381,7 +3381,7 @@ void XMLTextParagraphExport::exportText( const OUString& rText, } // If there are spaces left that have not been exported and the - // current chracter is not a space , the pending spaces have to be + // current character is not a space , the pending spaces have to be // exported now. if( nSpaceChars > 0 && !bCurrCharIsSpace ) { diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 9b9a8f08fda3..7560e50cb5de 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -1076,9 +1076,9 @@ protected: Reference<beans::XPropertySet>& rPropSet); /** - * All marks can be created immediatly. Since we don't care about + * All marks can be created immediately. Since we don't care about * the element content, ProcessAttribute should set the properties - * immediatly. + * immediately. * * This method tolerates an empty PropertySet; subclasses however * are not expected to. @@ -2091,7 +2091,7 @@ XMLParaContext::~XMLParaContext() xTxtImport->FindOutlineStyleName( sStyleName, nOutlineLevel ); // set style and hard attributes at the previous paragraph - // --> OD 2007-07-25 #i73509# - add paramter <mbOutlineLevelAttrFound> + // --> OD 2007-07-25 #i73509# - add parameter <mbOutlineLevelAttrFound> sStyleName = xTxtImport->SetStyleAndAttrs( GetImport(), xAttrCursor, sStyleName, sal_True, diff --git a/xmloff/source/text/txtprmap.cxx b/xmloff/source/text/txtprmap.cxx index 45b76975f6d3..26587c73b3a6 100644 --- a/xmloff/source/text/txtprmap.cxx +++ b/xmloff/source/text/txtprmap.cxx @@ -257,7 +257,7 @@ XMLPropertyMapEntry aXMLParaPropMap[] = // RES_PARATR_WIDOWS MP_E( "ParaWidows", FO, WIDOWS, XML_TYPE_NUMBER8, 0 ), // RES_PARATR_TABSTOP - MP_ED( "ParaTabStops", STYLE, TAB_STOPS, MID_FLAG_ELEMENT_ITEM|XML_TYPE_TEXT_TABSTOP, CTF_TABSTOP ), // this is not realy a string! + MP_ED( "ParaTabStops", STYLE, TAB_STOPS, MID_FLAG_ELEMENT_ITEM|XML_TYPE_TEXT_TABSTOP, CTF_TABSTOP ), // this is not really a string! // RES_PARATR_HYPHENZONE MT_E( "ParaIsHyphenation", FO, HYPHENATE, XML_TYPE_BOOL, 0 ), MT_E( "ParaHyphenationMaxLeadingChars", FO, HYPHENATION_REMAIN_CHAR_COUNT, XML_TYPE_NUMBER16, 0 ), diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx index 6ca7b568dec7..7590c77296b7 100644 --- a/xmloff/source/text/txtvfldi.cxx +++ b/xmloff/source/text/txtvfldi.cxx @@ -943,7 +943,7 @@ XMLVariableDeclImportContext::XMLVariableDeclImportContext( break; } default: - DBG_ERROR("unkown varfield type"); + DBG_ERROR("unknown varfield type"); } // switch } // else: no field master found/constructed } // else: no sequence-decl @@ -1003,7 +1003,7 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster( { OUString sNew; - // FIXME! cant find if name is taken already!!!! + // FIXME! can't find if name is taken already!!!! nCollisionCount++; OUStringBuffer aBuf; @@ -1028,7 +1028,7 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster( // find new name that is not taken OUString sNew; - // FIXME! cant find if name is taken already!!!! + // FIXME! can't find if name is taken already!!!! nCollisionCount++; OUStringBuffer aBuf; |