Fix typos

Change-Id: I8b4a9933b3c3df1871a7eb94023f0d0fd451afd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209902
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini
2026-08-25 11:32:16 +02:00
committed by Julien Nabet
parent dcc6b53e0c
commit ab6ec04dd8
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -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
<p>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.</p>
*/
SAL_DLLPRIVATE void documentDone( );
+1 -1
View File
@@ -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" );
+3 -3
View File
@@ -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;
}
+3 -3
View File
@@ -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())