diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2010-12-04 13:22:40 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-05 19:05:55 +0000 |
commit | 54b42134116b9d5f7f56caaf0b041782fa5d0d5c (patch) | |
tree | ca066fdf5f400820326ad2add87a251ffcafb176 /dtrans | |
parent | cppcheck: can reduce the scope of this variable (diff) | |
download | core-54b42134116b9d5f7f56caaf0b041782fa5d0d5c.tar.gz core-54b42134116b9d5f7f56caaf0b041782fa5d0d5c.zip |
Replace all occured, occurance etc.
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/cnttype/wbench/testcnttype.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/DataFmtTransl.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/workbench/test_wincb.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx index 5013ff8b714e..517d84a8ce79 100644 --- a/dtrans/source/cnttype/wbench/testcnttype.cxx +++ b/dtrans/source/cnttype/wbench/testcnttype.cxx @@ -229,7 +229,7 @@ int SAL_CALL main( int nArgc, char* argv[] ) OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) ); Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) ); - // Print a message if an error occured. + // Print a message if an error occurred. if ( !g_xFactory.is( ) ) { OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory"); diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.cxx b/dtrans/source/win32/dtobj/DataFmtTransl.cxx index 6ed4450333f4..48b4328113cd 100644 --- a/dtrans/source/win32/dtobj/DataFmtTransl.cxx +++ b/dtrans/source/win32/dtobj/DataFmtTransl.cxx @@ -175,7 +175,7 @@ DataFlavor CDataFormatTranslator::getDataFlavorFromFormatEtc( const FORMATETC& a OUString clipFormatName = getClipboardFormatName( aClipformat ); // if we could not get a clipboard format name an - // error must have occured or it is a standard + // error must have occurred or it is a standard // clipboard format that we don't translate, e.g. // CF_BITMAP (the office only uses CF_DIB) if ( clipFormatName.getLength( ) ) diff --git a/dtrans/source/win32/workbench/test_wincb.cxx b/dtrans/source/win32/workbench/test_wincb.cxx index ccfff019f461..90325de665e5 100644 --- a/dtrans/source/win32/workbench/test_wincb.cxx +++ b/dtrans/source/win32/workbench/test_wincb.cxx @@ -277,7 +277,7 @@ int SAL_CALL main( int nArgc, char* Argv[] ) OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) ); Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) ); - // Print a message if an error occured. + // Print a message if an error occurred. if ( !g_xFactory.is( ) ) { OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory"); |