summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-07-26 23:46:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-07-26 23:54:35 +0900
commit0be97371948953e83179f4b2f0d43880b3a07e35 (patch)
tree7e6123d8cd1858973d11320cc0c59df36df714ab
parent994cb232e31328b58dbc0e0f1b27aebb2ce2fe86 (diff)
fixed typo
-rw-r--r--basic/source/uno/dlgcont.cxx6
-rw-r--r--basic/source/uno/namecont.cxx26
-rw-r--r--basic/source/uno/scriptcont.cxx6
3 files changed, 19 insertions, 19 deletions
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx
index f81a878255..a056ac9534 100644
--- a/basic/source/uno/dlgcont.cxx
+++ b/basic/source/uno/dlgcont.cxx
@@ -349,7 +349,7 @@ Any SAL_CALL SfxDialogLibraryContainer::importLibraryElement
//Reference< XMultiServiceFactory > xMSF( comphelper::getProcessServiceFactory() );
//if( !xMSF.is() )
//{
- // OSL_FAIL( "### couln't get ProcessServiceFactory\n" );
+ // OSL_FAIL( "### couldn't get ProcessServiceFactory\n" );
// return aRetAny;
//}
@@ -357,7 +357,7 @@ Any SAL_CALL SfxDialogLibraryContainer::importLibraryElement
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
if( !xParser.is() )
{
- OSL_FAIL( "### couln't create sax parser component\n" );
+ OSL_FAIL( "### couldn't create sax parser component\n" );
return aRetAny;
}
@@ -365,7 +365,7 @@ Any SAL_CALL SfxDialogLibraryContainer::importLibraryElement
( OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ) ), UNO_QUERY );
if( !xDialogModel.is() )
{
- OSL_FAIL( "### couln't create com.sun.star.awt.UnoControlDialogModel component\n" );
+ OSL_FAIL( "### couldn't create com.sun.star.awt.UnoControlDialogModel component\n" );
return aRetAny;
}
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 5a52b819b6..72a8dccc1e 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -384,21 +384,21 @@ SfxLibraryContainer::SfxLibraryContainer( void )
mxMSF = comphelper::getProcessServiceFactory();
if( !mxMSF.is() )
{
- OSL_FAIL( "### couln't get ProcessServiceFactory\n" );
+ OSL_FAIL( "### couldn't get ProcessServiceFactory\n" );
}
mxSFI = Reference< XSimpleFileAccess >( mxMSF->createInstance
( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.SimpleFileAccess")) ), UNO_QUERY );
if( !mxSFI.is() )
{
- OSL_FAIL( "### couln't create SimpleFileAccess component\n" );
+ OSL_FAIL( "### couldn't create SimpleFileAccess component\n" );
}
mxStringSubstitution = Reference< XStringSubstitution >( mxMSF->createInstance
( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.PathSubstitution")) ), UNO_QUERY );
if( !mxStringSubstitution.is() )
{
- OSL_FAIL( "### couln't create PathSubstitution component\n" );
+ OSL_FAIL( "### couldn't create PathSubstitution component\n" );
}
}
@@ -673,7 +673,7 @@ sal_Bool SfxLibraryContainer::init_Impl(
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
if( !xParser.is() )
{
- OSL_FAIL( "### couln't create sax parser component\n" );
+ OSL_FAIL( "### couldn't create sax parser component\n" );
return sal_False;
}
@@ -919,7 +919,7 @@ sal_Bool SfxLibraryContainer::init_Impl(
#if OSL_DEBUG_LEVEL > 0
Any aError( ::cppu::getCaughtException() );
::rtl::OStringBuffer aMessage;
- aMessage.append( "couln't open sub storage for library '" );
+ aMessage.append( "couldn't open sub storage for library '" );
aMessage.append( ::rtl::OUStringToOString( rLib.aName, osl_getThreadTextEncoding() ) );
aMessage.append( "'.\n\nException:" );
aMessage.append( ::rtl::OUStringToOString( ::comphelper::anyToString( aError ), osl_getThreadTextEncoding() ) );
@@ -1552,7 +1552,7 @@ void SfxLibraryContainer::implStoreLibraryIndexFile( SfxLibrary* pLib,
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer") ) ), UNO_QUERY );
if( !xHandler.is() )
{
- OSL_FAIL( "### couln't create sax-writer component\n" );
+ OSL_FAIL( "### couldn't create sax-writer component\n" );
return;
}
@@ -1637,7 +1637,7 @@ void SfxLibraryContainer::implStoreLibraryIndexFile( SfxLibrary* pLib,
}
if( !xOut.is() )
{
- OSL_FAIL( "### couln't open output stream\n" );
+ OSL_FAIL( "### couldn't open output stream\n" );
return;
}
@@ -1655,7 +1655,7 @@ sal_Bool SfxLibraryContainer::implLoadLibraryIndexFile( SfxLibrary* pLib,
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
if( !xParser.is() )
{
- OSL_FAIL( "### couln't create sax parser component\n" );
+ OSL_FAIL( "### couldn't create sax parser component\n" );
return sal_False;
}
@@ -1918,7 +1918,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
#if OSL_DEBUG_LEVEL > 0
Any aError( ::cppu::getCaughtException() );
::rtl::OStringBuffer aMessage;
- aMessage.append( "couln't create sub storage for library '" );
+ aMessage.append( "couldn't create sub storage for library '" );
aMessage.append( ::rtl::OUStringToOString( rLib.aName, osl_getThreadTextEncoding() ) );
aMessage.append( "'.\n\nException:" );
aMessage.append( ::rtl::OUStringToOString( ::comphelper::anyToString( aError ), osl_getThreadTextEncoding() ) );
@@ -2027,7 +2027,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer") ) ), UNO_QUERY );
if( !xHandler.is() )
{
- OSL_FAIL( "### couln't create sax-writer component\n" );
+ OSL_FAIL( "### couldn't create sax-writer component\n" );
return;
}
@@ -2087,7 +2087,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
}
if( !xOut.is() )
{
- OSL_FAIL( "### couln't open output stream\n" );
+ OSL_FAIL( "### couldn't open output stream\n" );
return;
}
@@ -2339,7 +2339,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
#if OSL_DEBUG_LEVEL > 0
Any aError( ::cppu::getCaughtException() );
::rtl::OStringBuffer aMessage;
- aMessage.append( "couln't open sub storage for library '" );
+ aMessage.append( "couldn't open sub storage for library '" );
aMessage.append( ::rtl::OUStringToOString( Name, osl_getThreadTextEncoding() ) );
aMessage.append( "'.\n\nException:" );
aMessage.append( ::rtl::OUStringToOString( ::comphelper::anyToString( aError ), osl_getThreadTextEncoding() ) );
@@ -2390,7 +2390,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
{
#if OSL_DEBUG_LEVEL > 0
::rtl::OStringBuffer aMessage;
- aMessage.append( "couln't open library element stream - attempted to open library '" );
+ aMessage.append( "couldn't open library element stream - attempted to open library '" );
aMessage.append( ::rtl::OUStringToOString( Name, osl_getThreadTextEncoding() ) );
aMessage.append( "'." );
OSL_FAIL( aMessage.makeStringAndClear().getStr() );
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index 766951286a..94cd5372ff 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -198,7 +198,7 @@ void SAL_CALL SfxScriptLibraryContainer::writeLibraryElement
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer") ) ), UNO_QUERY );
if( !xHandler.is() )
{
- OSL_FAIL( "### couln't create sax-writer component\n" );
+ OSL_FAIL( "### couldn't create sax-writer component\n" );
return;
}
@@ -255,7 +255,7 @@ Any SAL_CALL SfxScriptLibraryContainer::importLibraryElement
OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
if( !xParser.is() )
{
- OSL_FAIL( "### couln't create sax parser component\n" );
+ OSL_FAIL( "### couldn't create sax parser component\n" );
return aRetAny;
}
@@ -926,7 +926,7 @@ sal_Bool SfxScriptLibraryContainer::implLoadPasswordLibrary
}
catch( uno::Exception& )
{
- OSL_FAIL( "### couln't open sub storage for library\n" );
+ OSL_FAIL( "### couldn't open sub storage for library\n" );
return sal_False;
}
}