From 0b30cb7e66e0cef4f6f75013eb182c2d58615ca1 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 4 Dec 2010 13:16:21 +0900 Subject: Replace all occured, occurance etc. --- ucb/qa/complex/tdoc/interfaces/_XChild.java | 2 +- ucb/qa/complex/tdoc/interfaces/_XServiceInfo.java | 4 ++-- ucb/qa/complex/tdoc/interfaces/_XTypeProvider.java | 2 +- ucb/source/core/ucbcmds.cxx | 2 +- ucb/source/ucp/file/filglob.cxx | 8 ++++---- ucb/source/ucp/odma/odma_content.cxx | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) mode change 100755 => 100644 ucb/qa/complex/tdoc/interfaces/_XChild.java mode change 100755 => 100644 ucb/qa/complex/tdoc/interfaces/_XServiceInfo.java mode change 100755 => 100644 ucb/qa/complex/tdoc/interfaces/_XTypeProvider.java (limited to 'ucb') diff --git a/ucb/qa/complex/tdoc/interfaces/_XChild.java b/ucb/qa/complex/tdoc/interfaces/_XChild.java old mode 100755 new mode 100644 index 351fc6f84aa1..f59df2776ade --- a/ucb/qa/complex/tdoc/interfaces/_XChild.java +++ b/ucb/qa/complex/tdoc/interfaces/_XChild.java @@ -90,7 +90,7 @@ public class _XChild { oObj.setParent(gotten); } catch (com.sun.star.lang.NoSupportException ex) { - log.println("Exception occured during setParent() - " + (supported?"FAILED":"OK")); + log.println("Exception occurred during setParent() - " + (supported?"FAILED":"OK")); if (supported) { ex.printStackTrace((java.io.PrintWriter)log); return false; diff --git a/ucb/qa/complex/tdoc/interfaces/_XServiceInfo.java b/ucb/qa/complex/tdoc/interfaces/_XServiceInfo.java old mode 100755 new mode 100644 index 761cca87998a..20ea90c75b68 --- a/ucb/qa/complex/tdoc/interfaces/_XServiceInfo.java +++ b/ucb/qa/complex/tdoc/interfaces/_XServiceInfo.java @@ -50,7 +50,7 @@ public class _XServiceInfo { /** * Just calls the method.

- * Has OK status if no runtime exceptions occured. + * Has OK status if no runtime exceptions occurred. */ public boolean _getImplementationName() { boolean result = true; @@ -66,7 +66,7 @@ public class _XServiceInfo { /** * Just calls the method.

- * Has OK status if no runtime exceptions occured. + * Has OK status if no runtime exceptions occurred. */ public boolean _getSupportedServiceNames() { boolean result = true; diff --git a/ucb/qa/complex/tdoc/interfaces/_XTypeProvider.java b/ucb/qa/complex/tdoc/interfaces/_XTypeProvider.java old mode 100755 new mode 100644 index aef931bdeef1..378dfb267f09 --- a/ucb/qa/complex/tdoc/interfaces/_XTypeProvider.java +++ b/ucb/qa/complex/tdoc/interfaces/_XTypeProvider.java @@ -51,7 +51,7 @@ public class _XTypeProvider { /** * Just calls the method.

- * Has OK status if no runtime exceptions occured. + * Has OK status if no runtime exceptions occurred. */ public boolean _getImplementationId() { boolean result = true; diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 0447fac228db..0fd4a8fa37b4 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -509,7 +509,7 @@ bool setTitle( if ( aErrors[ 0 ].hasValue() ) { - // error occured. + // error occurred. OSL_ENSURE( sal_False, "error setting Title property!" ); return false; } diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx index 1c8e7eb63bfb..716a49003e7c 100644 --- a/ucb/source/ucp/file/filglob.cxx +++ b/ucb/source/ucp/file/filglob.cxx @@ -389,7 +389,7 @@ namespace fileaccess { xEnv, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "an error occured during file opening")), + "an error occurred during file opening")), xComProc); } else if( errorCode == TASKHANDLING_OPEN_FOR_DIRECTORYLISTING || @@ -444,7 +444,7 @@ namespace fileaccess { xEnv, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "an error occured during opening a directory")), + "an error occurred during opening a directory")), xComProc); } else if( errorCode == TASKHANDLING_NOTCONNECTED_FOR_WRITE || @@ -461,7 +461,7 @@ namespace fileaccess { xEnv, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "an error occured writing or reading from a file")), + "an error occurred writing or reading from a file")), xComProc ); } else if( errorCode == TASKHANDLING_FILEIOERROR_FOR_NO_SPACE ) @@ -527,7 +527,7 @@ namespace fileaccess { xEnv, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "an error occured during opening a file")), + "an error occurred during opening a file")), xComProc); } else if( errorCode == TASKHANDLING_NONAMESET_INSERT_COMMAND || diff --git a/ucb/source/ucp/odma/odma_content.cxx b/ucb/source/ucp/odma/odma_content.cxx index 4ac96ab5b4b3..4ef70bec95c9 100644 --- a/ucb/source/ucp/odma/odma_content.cxx +++ b/ucb/source/ucp/odma/odma_content.cxx @@ -394,7 +394,7 @@ uno::Any SAL_CALL Content::execute( } catch(uno::Exception&) { - OSL_ENSURE(0,"Exception occured while creating the file content!"); + OSL_ENSURE(0,"Exception occurred while creating the file content!"); } xDataSink->setInputStream( xIn ); } -- cgit