diff --git a/include/xmloff/formlayerimport.hxx b/include/xmloff/formlayerimport.hxx index 18566b958d45..2179f7ff26a7 100644 --- a/include/xmloff/formlayerimport.hxx +++ b/include/xmloff/formlayerimport.hxx @@ -106,7 +106,7 @@ namespace xmloff /** sets the given number style on the given control @param _rxControlModel - the control model which's style is to be set + the control model whose style is to be set @param _rControlNumberStyleName the style name for the control's number style */ @@ -118,7 +118,7 @@ namespace xmloff /** to be called when the document has been completely imported

For some documents (currently: only some spreadsheet documents) it's necessary - do to a post processing, since not all information from the file can be processed + to do post processing, since not all information from the file can be processed if the document is not completed, yet.

*/ SAL_DLLPRIVATE void documentDone( ); diff --git a/io/test/stm/marktest.cxx b/io/test/stm/marktest.cxx index 0dd01a7f7747..6538fd2cc411 100644 --- a/io/test/stm/marktest.cxx +++ b/io/test/stm/marktest.cxx @@ -235,7 +235,7 @@ void OMarkableOutputStreamTest::testSimple( const Reference< XOutputStream > rOutput->writeBytes( seqWrite ); } - ERROR_ASSERT( 0 == rInput->available() , "bytes available though mark is holded" ); + ERROR_ASSERT( 0 == rInput->available() , "bytes available though mark is held" ); ERROR_ASSERT( nMax*seqWrite.getLength() == rMarkable->offsetToMark( nMark ) , "offsetToMark failure" ); diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx index 5dc6455e7018..e04cec2179fd 100644 --- a/l10ntools/source/treemerge.cxx +++ b/l10ntools/source/treemerge.cxx @@ -25,7 +25,7 @@ namespace { - // Extract strings from nodes on all level recursively + // Extract strings from nodes on all levels recursively void lcl_ExtractLevel( const xmlDocPtr pSource, const xmlNodePtr pRoot, const xmlChar* pNodeName, PoOfstream& rPOStream ) @@ -87,7 +87,7 @@ namespace OString::Concat(rXhpRoot) + sID.subView(sID.indexOf('/', nAfterSlash)); xmlDocPtr pXhpFile = xmlParseFile( sXhpPath.getStr() ); - // if xhpfile is missing than put this topic into comment + // if xhpfile is missing then put this topic into comment if ( !pXhpFile ) { xmlNodePtr pTemp = pReturn; @@ -235,7 +235,7 @@ void TreeParser::Extract( const OString& rPOFile ) if( !aPOStream.isOpen() ) { std::cerr - << "Treex error: Cannot open po file for extract: " + << "Treex error: Cannot open po file for extraction: " << rPOFile << std::endl; return; } diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index d04c3a9b668b..654e2d833695 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -287,7 +287,7 @@ Reference< XHyphenatedWord > SAL_CALL { OUString aChkWord( rWord ); - // replace typographical apostroph by ascii apostroph + // replace typographical apostrophe by ascii apostrophe OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) @@ -422,7 +422,7 @@ Reference< XHyphenatedWord > SAL_CALL { OUString aChkWord( rWord ); - // replace typographical apostroph by ascii apostroph + // replace typographical apostrophe by ascii apostrophe OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty()) @@ -547,7 +547,7 @@ Reference< XPossibleHyphens > SAL_CALL { OUString aChkWord( rWord ); - // replace typographical apostroph by ascii apostroph + // replace typographical apostrophe by ascii apostrophe OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() ); DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" ); if (!aSingleQuote.isEmpty())