summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-02-06 23:21:40 +0100
committerAndras Timar <andras.timar@collabora.com>2014-02-06 23:22:30 +0100
commitac6e8ac7e407887a18bca6c835f85e372a4d0932 (patch)
tree4011854fc6beb6c4bf03fc278efeeffddedae7d0 /forms
parent31ae0011352faa834da8969559430935e81d479f (diff)
typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx4
-rw-r--r--forms/source/component/ImageControl.cxx2
-rw-r--r--forms/source/misc/limitedformats.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 290aba7d93f0..7b4ac6ad56a3 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -266,7 +266,7 @@ Any SAL_CALL ODatabaseForm::queryAggregation(const Type& _rType) throw(RuntimeEx
// aggregate interfaces
// (ask the aggregated object _after_ the OComponentHelper (base of OFormComponents),
- // so calls to the XComponent interface reach us and not the aggreagtion)
+ // so calls to the XComponent interface reach us and not the aggregation)
if (!aReturn.hasValue() && m_xAggregate.is())
aReturn = m_xAggregate->queryAggregation(_rType);
}
@@ -2740,7 +2740,7 @@ void ODatabaseForm::doShareConnection( const Reference< XPropertySet >& _rxParen
OSL_ENSURE( xParentConnComp.is(), "ODatabaseForm::doShareConnection: invalid connection!" );
xParentConnComp->addEventListener( static_cast< XLoadListener* >( this ) );
- // forward the connection to our own aggreagte
+ // forward the connection to our own aggregate
m_bForwardingConnection = sal_True;
m_xAggregateSet->setPropertyValue( PROPERTY_ACTIVE_CONNECTION, makeAny( xParentConn ) );
m_bForwardingConnection = sal_False;
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index de07752d77c3..8ec645c141f1 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -212,7 +212,7 @@ StringSequence OImageControlModel::getSupportedServiceNames() throw()
//------------------------------------------------------------------------------
Any SAL_CALL OImageControlModel::queryAggregation(const Type& _rType) throw (RuntimeException)
{
- // Order matters: we want to "override" the XImageProducer interface of the aggreate with out
+ // Order matters: we want to "override" the XImageProducer interface of the aggregate without
// own XImageProducer interface, thus we need to query OImageControlModel_Base first
Any aReturn = OImageControlModel_Base::queryInterface( _rType );
diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx
index c0632a6a968f..5f0d71ea166c 100644
--- a/forms/source/misc/limitedformats.cxx
+++ b/forms/source/misc/limitedformats.cxx
@@ -329,7 +329,7 @@ namespace frm
OSL_ENSURE(_rOldValue.hasValue(), "OLimitedFormats::convertFormatKeyPropertyValue: did not find the old enum value in the table!");
if (!bFoundIt)
- { // somebody gave us an format which we can't translate
+ { // somebody gave us a format which we can't translate
OUString sMessage ("This control supports only a very limited number of formats.");
throw IllegalArgumentException(sMessage, NULL, 2);
}
@@ -347,8 +347,8 @@ namespace frm
if (m_xAggregate.is())
{ // this is to be called after convertFormatKeyPropertyValue, where
- // we translated the format key into a enum value.
- // So now we can simply forward this enum value to our aggreate
+ // we translated the format key into an enum value.
+ // So now we can simply forward this enum value to our aggregate
m_xAggregate->setFastPropertyValue(m_nFormatEnumPropertyHandle, _rNewValue);
}
}