[Libreoffice-commits] .: binfilter/bf_sfx2
Takeshi Abe
tabe at kemper.freedesktop.org
Tue Jul 26 07:54:13 PDT 2011
binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx | 30 +++++++++++-----------
binfilter/bf_sfx2/source/appl/sfx2_scriptcont.cxx | 4 +-
2 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit fa60d00bc528139ad0140754f38af8eb25d6d4d5
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue Jul 26 23:43:55 2011 +0900
fixed typo
diff --git a/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx b/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx
index ac7f746..2731e25 100644
--- a/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx
+++ b/binfilter/bf_sfx2/source/appl/sfx2_namecont.cxx
@@ -244,18 +244,18 @@ namespace SfxContainer_Impl
/*N*/ mxMSF = ::legacy_binfilters::getLegacyProcessServiceFactory();
/*N*/ if( !mxMSF.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't get ProcessServiceFactory\n" );
+/*N*/ OSL_FAIL( "### couldn't get ProcessServiceFactory\n" );
/*N*/ }
/*N*/
/*N*/ mxSFI = Reference< XSimpleFileAccess >( mxMSF->createInstance
/*N*/ ( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.ucb.SimpleFileAccess" )) ), UNO_QUERY );
/*N*/ if( !mxSFI.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't create SimpleFileAccess component\n" );
+/*N*/ OSL_FAIL( "### couldn't create SimpleFileAccess component\n" );
/*N*/ }
mxStringSubstitution = Reference< XStringSubstitution >( mxMSF->createInstance
( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.util.PathSubstitution" )) ), UNO_QUERY );
- OSL_ENSURE( mxStringSubstitution.is(), "### couln't create PathSubstitution component\n" );
+ OSL_ENSURE( mxStringSubstitution.is(), "### couldn't create PathSubstitution component\n" );
/*N*/ }
/*N*/ SfxLibraryContainer_Impl::~SfxLibraryContainer_Impl()
@@ -354,7 +354,7 @@ namespace SfxContainer_Impl
/*N*/ OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
/*N*/ if( !xParser.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't create sax parser component\n" );
+/*N*/ OSL_FAIL( "### couldn't create sax parser component\n" );
/*N*/ return sal_False;
/*N*/ }
/*N*/
@@ -563,7 +563,7 @@ namespace SfxContainer_Impl
/*?*/ xLibraryStor = xLibrariesStor->OpenSotStorage( rLib.aName, STREAM_READ | STREAM_NOCREATE );
/*?*/ if( !xLibraryStor.Is() || xLibraryStor->GetError() != ERRCODE_NONE )
/*?*/ {
-/*?*/ OSL_FAIL( "### couln't open sub storage for library\n" );
+/*?*/ OSL_FAIL( "### couldn't open sub storage for library\n" );
/*?*/ xLibraryStor = NULL;
/*N*/ }
/*N*/ }
@@ -872,7 +872,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* 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;
}
@@ -928,7 +928,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
}
if( !xOut.is() )
{
- OSL_FAIL( "### couln't open output stream\n" );
+ OSL_FAIL( "### couldn't open output stream\n" );
return;
}
@@ -949,7 +949,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*N*/ OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
/*N*/ if( !xParser.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't create sax parser component\n" );
+/*N*/ OSL_FAIL( "### couldn't create sax parser component\n" );
/*N*/ return sal_False;
/*N*/ }
/*N*/
@@ -1000,7 +1000,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*N*/ }
/*N*/ if( !xInput.is() )
/*N*/ {
-/*N*/ // OSL_FAIL( "### couln't open input stream\n" );
+/*N*/ // OSL_FAIL( "### couldn't open input stream\n" );
/*N*/ return sal_False;
/*N*/ }
/*N*/
@@ -1108,7 +1108,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*?*/ xLibrariesStor = xStorage->OpenUCBStorage( maLibrariesDir, STREAM_WRITE );
/*?*/ if( !xLibrariesStor.Is() || xLibrariesStor->GetError() != ERRCODE_NONE )
/*?*/ {
-/*?*/ OSL_FAIL( "### couln't create libraries sub storage\n" );
+/*?*/ OSL_FAIL( "### couldn't create libraries sub storage\n" );
/*?*/ return;
/*?*/ }
/*?*/
@@ -1150,7 +1150,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
xLibraryStor = xLibrariesStor->OpenUCBStorage( rLib.aName, STREAM_WRITE );
if( !xLibraryStor.Is() || xLibraryStor->GetError() != ERRCODE_NONE )
{
- OSL_FAIL( "### couln't create sub storage for library\n" );
+ OSL_FAIL( "### couldn't create sub storage for library\n" );
return;
}
}
@@ -1192,7 +1192,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*N*/ OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer") ) ), UNO_QUERY );
/*N*/ if( !xHandler.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't create sax-writer component\n" );
+/*N*/ OSL_FAIL( "### couldn't create sax-writer component\n" );
/*N*/ return;
/*N*/ }
/*N*/
@@ -1248,7 +1248,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*N*/ }
/*N*/ if( !xOut.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't open output stream\n" );
+/*N*/ OSL_FAIL( "### couldn't open output stream\n" );
/*N*/ return;
/*N*/ }
/*N*/
@@ -1395,7 +1395,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*?*/ }
/*?*/ if( !xLibraryStor.Is() || xLibraryStor->GetError() != ERRCODE_NONE )
/*?*/ {
-/*?*/ OSL_FAIL( "### couln't open sub storage for library\n" );
+/*?*/ OSL_FAIL( "### couldn't open sub storage for library\n" );
/*?*/ return;
/*?*/ }
/*N*/ }
@@ -1425,7 +1425,7 @@ void SfxLibraryContainer_Impl::implStoreLibraryIndexFile( SfxLibrary_Impl* pLib,
/*?*/
/*?*/ if( !xElementStream.Is() || xElementStream->GetError() != ERRCODE_NONE )
/*?*/ {
-/*?*/ OSL_FAIL( "### couln't open library element stream\n" );
+/*?*/ OSL_FAIL( "### couldn't open library element stream\n" );
/*?*/ return;
/*N*/ }
/*N*/ }
diff --git a/binfilter/bf_sfx2/source/appl/sfx2_scriptcont.cxx b/binfilter/bf_sfx2/source/appl/sfx2_scriptcont.cxx
index 21caf3a..61ca2ce 100644
--- a/binfilter/bf_sfx2/source/appl/sfx2_scriptcont.cxx
+++ b/binfilter/bf_sfx2/source/appl/sfx2_scriptcont.cxx
@@ -186,7 +186,7 @@ void SfxScriptLibraryContainer::setLibraryPassword(
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;
}
@@ -210,7 +210,7 @@ void SfxScriptLibraryContainer::setLibraryPassword(
/*N*/ OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser") ) ), UNO_QUERY );
/*N*/ if( !xParser.is() )
/*N*/ {
-/*N*/ OSL_FAIL( "### couln't create sax parser component\n" );
+/*N*/ OSL_FAIL( "### couldn't create sax parser component\n" );
/*N*/ return aRetAny;
/*N*/ }
/*N*/
More information about the Libreoffice-commits
mailing list