[Libreoffice-commits] .: 2 commits - basic/source xmloff/inc
Takeshi Abe
tabe at kemper.freedesktop.org
Tue Jul 26 07:55:01 PDT 2011
basic/source/uno/dlgcont.cxx | 6 +++---
basic/source/uno/namecont.cxx | 26 +++++++++++++-------------
basic/source/uno/scriptcont.cxx | 6 +++---
xmloff/inc/xmloff/xmlexppr.hxx | 4 ++--
4 files changed, 21 insertions(+), 21 deletions(-)
New commits:
commit 0be97371948953e83179f4b2f0d43880b3a07e35
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue Jul 26 23:46:57 2011 +0900
fixed typo
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx
index f81a878..a056ac9 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 5a52b81..72a8dcc 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 7669512..94cd537 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;
}
}
commit 994cb232e31328b58dbc0e0f1b27aebb2ce2fe86
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Fri Jul 8 18:57:01 2011 +0900
fixed typos in comments
diff --git a/xmloff/inc/xmloff/xmlexppr.hxx b/xmloff/inc/xmloff/xmlexppr.hxx
index b285c93..05367e3 100644
--- a/xmloff/inc/xmloff/xmlexppr.hxx
+++ b/xmloff/inc/xmloff/xmlexppr.hxx
@@ -125,10 +125,10 @@ public:
::com::sun::star::beans::XPropertySet > rPropSet ) const
{ return _Filter(rPropSet, sal_False); }
- /** Like Filter(), excepti that:
+ /** Like Filter(), except that:
* - only properties that have the map flag MID_FLAG_DEFAULT_ITEM_EXPORT
* set are exported,
- * - instead of the property's value, its defualt value is exported.
+ * - instead of the property's value, its default value is exported.
*/
::std::vector< XMLPropertyState > FilterDefaults(
const ::com::sun::star::uno::Reference<
More information about the Libreoffice-commits
mailing list