diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2010-12-04 12:56:38 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-05 20:23:29 +0000 |
commit | 60a9b5172bcbd90b5764125b76279c189dd5563c (patch) | |
tree | 50360c4fc74ab388941361230dbc9a4f8d76fb8b /accessibility/bridge | |
parent | cppcheck: the scope of this variable can be reduced (diff) | |
download | core-60a9b5172bcbd90b5764125b76279c189dd5563c.tar.gz core-60a9b5172bcbd90b5764125b76279c189dd5563c.zip |
Replace all occured, occurance etc.
Diffstat (limited to 'accessibility/bridge')
-rw-r--r-- | accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx index 581e5dc71790..f34e79aae86f 100644 --- a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx +++ b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx @@ -94,17 +94,17 @@ Java_org_openoffice_accessibility_WindowsAccessBridgeAdapter_getProcessID(JNIEnv g_jcWindowsAccessBridgeAdapter = static_cast< jclass > (pJNIEnv->NewGlobalRef(clazz)); if (NULL == g_jcWindowsAccessBridgeAdapter) { - return 0; /* jni error occured */ + return 0; /* jni error occurred */ } g_jmRegisterTopWindow = pJNIEnv->GetStaticMethodID(clazz, "registerTopWindow", "(ILcom/sun/star/accessibility/XAccessible;)V"); if (0 == g_jmRegisterTopWindow) { - return 0; /* jni error occured */ + return 0; /* jni error occurred */ } g_jmRevokeTopWindow = pJNIEnv->GetStaticMethodID(clazz, "revokeTopWindow", "(ILcom/sun/star/accessibility/XAccessible;)V"); if (0 == g_jmRevokeTopWindow) { - return 0; /* jni error occured */ + return 0; /* jni error occurred */ } // Use the special protocol of XJavaVM.getJavaVM: If the passed in @@ -284,7 +284,7 @@ void handleWindowEvent(Window * pWindow, bool bShow) (bShow) ? g_jmRegisterTopWindow : g_jmRevokeTopWindow, (jint) GetHWND(pWindow), joXAccessible ); - // Clear any exception that might have been occured. + // Clear any exception that might have been occurred. if (pJNIEnv->ExceptionCheck()) { pJNIEnv->ExceptionClear(); } |