Kaydet (Commit) 2e9fe260 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I5fc62060e7d01c6b492a0e91323f753cc676bf71
Reviewed-on: https://gerrit.libreoffice.org/35639Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 98ef3edb
...@@ -33,7 +33,7 @@ import org.jfree.report.flow.layoutprocessor.LayoutControllerFactory; ...@@ -33,7 +33,7 @@ import org.jfree.report.flow.layoutprocessor.LayoutControllerFactory;
import org.jfree.report.structure.Section; import org.jfree.report.structure.Section;
/** /**
* Processes a fixed-text element of the OpenOffice reporting specificiation. * Processes a fixed-text element of the OpenOffice reporting specification.
* The element itself contains a single paragraph which contains the content. * The element itself contains a single paragraph which contains the content.
* After checking, whether this element should be printed, this layout * After checking, whether this element should be printed, this layout
* controller simply delegates the dirty work to a suitable handler. * controller simply delegates the dirty work to a suitable handler.
......
...@@ -1497,7 +1497,7 @@ bool OReportDefinition::WriteThroughComponent( ...@@ -1497,7 +1497,7 @@ bool OReportDefinition::WriteThroughComponent(
return false; return false;
uno::Reference<beans::XPropertySet> xStreamProp(xOutputStream,uno::UNO_QUERY); uno::Reference<beans::XPropertySet> xStreamProp(xOutputStream,uno::UNO_QUERY);
OSL_ENSURE(xStreamProp.is(),"No valid preoperty set for the output stream!"); OSL_ENSURE(xStreamProp.is(),"No valid property set for the output stream!");
uno::Reference<io::XSeekable> xSeek(xStreamProp,uno::UNO_QUERY); uno::Reference<io::XSeekable> xSeek(xStreamProp,uno::UNO_QUERY);
if ( xSeek.is() ) if ( xSeek.is() )
......
...@@ -210,7 +210,7 @@ namespace rptui ...@@ -210,7 +210,7 @@ namespace rptui
*/ */
void loadDefaultFunctions(); void loadDefaultFunctions();
/** creates a default functionof the _sFunction for the data field _sDataField /** creates a default function of the _sFunction for the data field _sDataField
* The new function will only be created if it didn't exist. * The new function will only be created if it didn't exist.
* *
* \param _aGuard Will be cleared, when a new function was created. * \param _aGuard Will be cleared, when a new function was created.
......
...@@ -209,7 +209,7 @@ int dooptions(int argc, char** argv) ...@@ -209,7 +209,7 @@ int dooptions(int argc, char** argv)
AddInclude( ap ); /* BP, 11.09.91 */ AddInclude( ap ); /* BP, 11.09.91 */
break; break;
case 'N': /* No predefineds */ case 'N': /* No predefined */
nflag++; /* Repeat to undefine */ nflag++; /* Repeat to undefine */
break; /* __LINE__, etc. */ break; /* __LINE__, etc. */
......
...@@ -480,7 +480,7 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir ...@@ -480,7 +480,7 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir
/* /*
* FIXME: rewrite to use more flexible * FIXME: rewrite to use more flexible
* NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES) * NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES)
* as soon as we can bumb the baseline to Tiger (for NSApplicationSupportDirectory) and have * as soon as we can bump the baseline to Tiger (for NSApplicationSupportDirectory) and have
* support for Objective-C in the build environment * support for Objective-C in the build environment
*/ */
......
...@@ -1942,7 +1942,7 @@ static bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *strFile ...@@ -1942,7 +1942,7 @@ static bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *strFile
else else
{ {
/* if we have not product identfication, do a special handling for soffice.ini */ /* if we have not product identification, do a special handling for soffice.ini */
if (rtl_ustr_ascii_compare(strFile, SVERSION_PROFILE) == 0) if (rtl_ustr_ascii_compare(strFile, SVERSION_PROFILE) == 0)
{ {
rtl_uString * strSVProfile = nullptr; rtl_uString * strSVProfile = nullptr;
......
...@@ -769,10 +769,10 @@ namespace osl_Thread ...@@ -769,10 +769,10 @@ namespace osl_Thread
public: public:
/** Check after call terminate if the thread running function will not go on executing /** Check after call terminate if the thread running function will not go on executing
the next statement after join will not exec before the thread terminate the next statement after join will not exec before the thread terminates
ALGORITHM: ALGORITHM:
recode system time at the beginning of the thread run, call join, then record system time again, recode system time at the beginning of the thread run, call join, then record system time again,
the difference of the two time should be equal or more than 20 seconds, the CountThead normally terminate the difference of the two times should be equal or more than 20 seconds, the CountThread normally terminates
*/ */
void join_001() void join_001()
{ {
...@@ -1541,7 +1541,7 @@ namespace osl_Thread ...@@ -1541,7 +1541,7 @@ namespace osl_Thread
// but should be differ from nValue // but should be differ from nValue
delete aThread; delete aThread;
//check if thread really terminate after call terminate, if join immediatlly return //check if thread really terminate after call terminate, if join immediately return
CPPUNIT_ASSERT_MESSAGE( CPPUNIT_ASSERT_MESSAGE(
"Schedule: Returns False if the thread should terminate.", "Schedule: Returns False if the thread should terminate.",
nValue_join - nValue_term <= 1 && nValue_join - nValue_term >= 0 nValue_join - nValue_term <= 1 && nValue_join - nValue_term >= 0
......
...@@ -431,7 +431,7 @@ public: ...@@ -431,7 +431,7 @@ public:
// const OString& newStr ) // const OString& newStr )
// Developer note: Mindy Liu, 2004-04-23 // Developer note: Mindy Liu, 2004-04-23
// stollen from sal/qa/rtl_strings/rtl_OString.cxx // stolen from sal/qa/rtl_strings/rtl_OString.cxx
class replaceAt : public CppUnit::TestFixture class replaceAt : public CppUnit::TestFixture
{ {
......
...@@ -42,7 +42,7 @@ static ImplReplaceCharData const aImplRepCharTab[] = ...@@ -42,7 +42,7 @@ static ImplReplaceCharData const aImplRepCharTab[] =
{ 0x2005, 0x0020 }, /* FOUR-PER-EM SPACE */ { 0x2005, 0x0020 }, /* FOUR-PER-EM SPACE */
{ 0x2006, 0x0020 }, /* SIX-PER-EM SPACE */ { 0x2006, 0x0020 }, /* SIX-PER-EM SPACE */
{ 0x2007, 0x0020 }, /* FIGURE SPACE */ { 0x2007, 0x0020 }, /* FIGURE SPACE */
{ 0x2008, 0x0020 }, /* PUNCTATION SPACE */ { 0x2008, 0x0020 }, /* PUNCTUATION SPACE */
{ 0x2009, 0x0020 }, /* THIN SPACE */ { 0x2009, 0x0020 }, /* THIN SPACE */
{ 0x200A, 0x0020 }, /* HAIR SPACE */ { 0x200A, 0x0020 }, /* HAIR SPACE */
{ 0x2010, 0x002D }, /* HYPHEN */ { 0x2010, 0x002D }, /* HYPHEN */
......
...@@ -337,7 +337,7 @@ sal_Size ImplUTF7ToUnicode( SAL_UNUSED_PARAMETER const void*, void* pContext, ...@@ -337,7 +337,7 @@ sal_Size ImplUTF7ToUnicode( SAL_UNUSED_PARAMETER const void*, void* pContext,
} }
else else
{ {
/* No direct encoded charcater, then the buffer is */ /* No direct encoded character, then the buffer is */
/* corrupt */ /* corrupt */
if ( c > 0x7F ) if ( c > 0x7F )
{ {
......
...@@ -39,7 +39,7 @@ void AttributesTest::test() ...@@ -39,7 +39,7 @@ void AttributesTest::test()
// We can't test getValueToken() and getOptionalValueToken() // We can't test getValueToken() and getOptionalValueToken()
// without XFastTokenHandler :-( // without XFastTokenHandler :-(
// Uncomment to get segmantation fault: // Uncomment to get segmentation fault:
// xAttributeList->getOptionalValueToken(1, 0); // xAttributeList->getOptionalValueToken(1, 0);
// xAttributeList->getValueToken(2); // xAttributeList->getValueToken(2);
......
<?xml version="1.0" ?> <?xml version="1.0" ?>
<Books xmlns="http://xyzbooks.com/books/"> <Books xmlns="http://xyzbooks.com/books/">
<Book> <Book>
<Title>War and Peacd</Title> <Title>War and Peace</Title>
<Author>Leo Tolstoy</Author> <Author>Leo Tolstoy</Author>
</Book> </Book>
<Book> <Book>
<Title>To Kill a Mockingbird</Title> <Title>To Kill a Mockingbird</Title>
<Author>Harper Lee</Author> <Author>Harper Lee</Author>
</Book> </Book>
</Books> </Books>
\ No newline at end of file
...@@ -981,7 +981,7 @@ bool FastSaxParserImpl::consume(EventList *pEventList) ...@@ -981,7 +981,7 @@ bool FastSaxParserImpl::consume(EventList *pEventList)
return false; return false;
case EXCEPTION: case EXCEPTION:
rEntity.throwException( mxDocumentLocator, false ); rEntity.throwException( mxDocumentLocator, false );
SAL_FALLTHROUGH; // avoid unreachable code warning with some comilers SAL_FALLTHROUGH; // avoid unreachable code warning with some compilers
default: default:
assert(false); assert(false);
return false; return false;
...@@ -1376,7 +1376,7 @@ FastSaxParser::initialize(css::uno::Sequence< css::uno::Any > const& rArguments) ...@@ -1376,7 +1376,7 @@ FastSaxParser::initialize(css::uno::Sequence< css::uno::Any > const& rArguments)
mpImpl->m_bIgnoreMissingNSDecl = true; mpImpl->m_bIgnoreMissingNSDecl = true;
else if ( str == "DoSmeplease" ) else if ( str == "DoSmeplease" )
{ {
//just ignore as this is already immune to billon laughs //just ignore as this is already immune to billion laughs
} }
else else
throw IllegalArgumentException(); throw IllegalArgumentException();
......
...@@ -28,7 +28,7 @@ using namespace ::com::sun::star::xml::sax; ...@@ -28,7 +28,7 @@ using namespace ::com::sun::star::xml::sax;
namespace sax_fastparser namespace sax_fastparser
{ {
// wasteage to keep MSVC happy vs. an in-line {} // wastage to keep MSVC happy vs. an in-line {}
FastTokenHandlerBase::~FastTokenHandlerBase() FastTokenHandlerBase::~FastTokenHandlerBase()
{ {
} }
......
...@@ -138,7 +138,7 @@ private: ...@@ -138,7 +138,7 @@ private:
/*---------------------------------------- /*----------------------------------------
* *
* Attributlist implementation * Attributelist implementation
* *
*----------------------------------------*/ *----------------------------------------*/
struct AttributeListImpl_impl; struct AttributeListImpl_impl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment