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:
committed by
Julien Nabet
parent
dcc6b53e0c
commit
ab6ec04dd8
@@ -106,7 +106,7 @@ namespace xmloff
|
|||||||
|
|
||||||
/** sets the given number style on the given control
|
/** sets the given number style on the given control
|
||||||
@param _rxControlModel
|
@param _rxControlModel
|
||||||
the control model which's style is to be set
|
the control model whose style is to be set
|
||||||
@param _rControlNumberStyleName
|
@param _rControlNumberStyleName
|
||||||
the style name for the control's number style
|
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
|
/** to be called when the document has been completely imported
|
||||||
|
|
||||||
<p>For some documents (currently: only some spreadsheet documents) it's necessary
|
<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>
|
if the document is not completed, yet.</p>
|
||||||
*/
|
*/
|
||||||
SAL_DLLPRIVATE void documentDone( );
|
SAL_DLLPRIVATE void documentDone( );
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ void OMarkableOutputStreamTest::testSimple( const Reference< XOutputStream >
|
|||||||
rOutput->writeBytes( seqWrite );
|
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 ) ,
|
ERROR_ASSERT( nMax*seqWrite.getLength() == rMarkable->offsetToMark( nMark ) ,
|
||||||
"offsetToMark failure" );
|
"offsetToMark failure" );
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
// Extract strings from nodes on all level recursively
|
// Extract strings from nodes on all levels recursively
|
||||||
void lcl_ExtractLevel(
|
void lcl_ExtractLevel(
|
||||||
const xmlDocPtr pSource, const xmlNodePtr pRoot,
|
const xmlDocPtr pSource, const xmlNodePtr pRoot,
|
||||||
const xmlChar* pNodeName, PoOfstream& rPOStream )
|
const xmlChar* pNodeName, PoOfstream& rPOStream )
|
||||||
@@ -87,7 +87,7 @@ namespace
|
|||||||
OString::Concat(rXhpRoot) +
|
OString::Concat(rXhpRoot) +
|
||||||
sID.subView(sID.indexOf('/', nAfterSlash));
|
sID.subView(sID.indexOf('/', nAfterSlash));
|
||||||
xmlDocPtr pXhpFile = xmlParseFile( sXhpPath.getStr() );
|
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 )
|
if ( !pXhpFile )
|
||||||
{
|
{
|
||||||
xmlNodePtr pTemp = pReturn;
|
xmlNodePtr pTemp = pReturn;
|
||||||
@@ -235,7 +235,7 @@ void TreeParser::Extract( const OString& rPOFile )
|
|||||||
if( !aPOStream.isOpen() )
|
if( !aPOStream.isOpen() )
|
||||||
{
|
{
|
||||||
std::cerr
|
std::cerr
|
||||||
<< "Treex error: Cannot open po file for extract: "
|
<< "Treex error: Cannot open po file for extraction: "
|
||||||
<< rPOFile << std::endl;
|
<< rPOFile << std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -287,7 +287,7 @@ Reference< XHyphenatedWord > SAL_CALL
|
|||||||
{
|
{
|
||||||
OUString aChkWord( rWord );
|
OUString aChkWord( rWord );
|
||||||
|
|
||||||
// replace typographical apostroph by ascii apostroph
|
// replace typographical apostrophe by ascii apostrophe
|
||||||
OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() );
|
OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() );
|
||||||
DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" );
|
DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" );
|
||||||
if (!aSingleQuote.isEmpty())
|
if (!aSingleQuote.isEmpty())
|
||||||
@@ -422,7 +422,7 @@ Reference< XHyphenatedWord > SAL_CALL
|
|||||||
{
|
{
|
||||||
OUString aChkWord( rWord );
|
OUString aChkWord( rWord );
|
||||||
|
|
||||||
// replace typographical apostroph by ascii apostroph
|
// replace typographical apostrophe by ascii apostrophe
|
||||||
OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() );
|
OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() );
|
||||||
DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" );
|
DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" );
|
||||||
if (!aSingleQuote.isEmpty())
|
if (!aSingleQuote.isEmpty())
|
||||||
@@ -547,7 +547,7 @@ Reference< XPossibleHyphens > SAL_CALL
|
|||||||
{
|
{
|
||||||
OUString aChkWord( rWord );
|
OUString aChkWord( rWord );
|
||||||
|
|
||||||
// replace typographical apostroph by ascii apostroph
|
// replace typographical apostrophe by ascii apostrophe
|
||||||
OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() );
|
OUString aSingleQuote( GetLocaleDataWrapper( nLanguage ).getQuotationMarkEnd() );
|
||||||
DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" );
|
DBG_ASSERT( 1 == aSingleQuote.getLength(), "unexpected length of quotation mark" );
|
||||||
if (!aSingleQuote.isEmpty())
|
if (!aSingleQuote.isEmpty())
|
||||||
|
|||||||
Reference in New Issue
Block a user