summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-04 12:56:38 +0900
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 20:23:29 +0000
commit60a9b5172bcbd90b5764125b76279c189dd5563c (patch)
tree50360c4fc74ab388941361230dbc9a4f8d76fb8b /forms
parent99b6172fb2ac2f2a3ea8df11ecbf63b5406b5705 (diff)
Replace all occured, occurance etc.
Diffstat (limited to 'forms')
-rw-r--r--[-rwxr-xr-x]forms/qa/complex/forms/CheckOGroupBoxModel.java6
-rw-r--r--forms/source/xforms/convert.hxx2
-rw-r--r--forms/source/xforms/model_ui.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java
index 8a2ae5c7f0e4..3c03176fd236 100755..100644
--- a/forms/qa/complex/forms/CheckOGroupBoxModel.java
+++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java
@@ -88,13 +88,13 @@ public class CheckOGroupBoxModel extends ComplexTestCase {
xPropSet.setPropertyValues(boundPropsToTest, newValue);
} catch (com.sun.star.beans.PropertyVetoException e) {
e.printStackTrace((PrintWriter)log);
- failed("Exception occured while trying to change the properties.");
+ failed("Exception occurred while trying to change the properties.");
} catch (com.sun.star.lang.IllegalArgumentException e) {
e.printStackTrace((PrintWriter)log);
- failed("Exception occured while trying to change the properties.");
+ failed("Exception occurred while trying to change the properties.");
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace((PrintWriter)log);
- failed("Exception occured while trying to change the properties.");
+ failed("Exception occurred while trying to change the properties.");
} // end of try-catch
assure("Listener was not called.", ml.wasListenerCalled());
diff --git a/forms/source/xforms/convert.hxx b/forms/source/xforms/convert.hxx
index 684ba4311af8..c2cdaef6c558 100644
--- a/forms/source/xforms/convert.hxx
+++ b/forms/source/xforms/convert.hxx
@@ -99,7 +99,7 @@ public:
sal_Int16 _nWhitespaceTreatment
);
- /** replace all occurences 0x08, 0x0A, 0x0D with 0x20
+ /** replace all occurrences 0x08, 0x0A, 0x0D with 0x20
*/
static ::rtl::OUString replaceWhitespace( const ::rtl::OUString& _rString );
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx
index 20509dd30040..f78bccfea00b 100644
--- a/forms/source/xforms/model_ui.cxx
+++ b/forms/source/xforms/model_ui.cxx
@@ -139,7 +139,7 @@ void lcl_OutPosition( OUStringBuffer& rBuffer,
{
OSL_ENSURE( xNode->getParentNode().is(), "need parent" );
- // count # of occurences of this node
+ // count # of occurrences of this node
sal_Int32 nFound = 0;
sal_Int32 nPosition = -1;
if( xNode->getParentNode().is() )