summaryrefslogtreecommitdiff
path: root/basic
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
commitba586696efc6b36cd56a3c086822933f1e16fb8f (patch)
tree7c67a0ce41a2d1a8aa56306bac2272eada860275 /basic
parent92f41bec4cb6ff887f0a5e5602a2321f1797dbc5 (diff)
fixed typo
Diffstat (limited to 'basic')
-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 2a39b06276d3..ef1386bed55c 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 72208e516350..cb52775c9e3c 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 d6a22045766c..6f6785082c3c 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;
}
}