summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-01-08 06:57:25 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-01-08 13:25:05 +0100
commit2e5c4b4081411b77b5e0593225b805d3756f7533 (patch)
tree48ef95101e79cf6a86ee34a6678426b4bc8251de /forms
parentcc8eeb3148b88807b4acf4ac3c829fb4f37f9a80 (diff)
Grammar fixes
Change-Id: I6ac6f6abb601aa254e94612e6826488393de8e3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86383 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/FormattedField.cxx6
-rw-r--r--forms/source/component/FormattedFieldWrapper.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index 805076b545d1..fb84dcb2e531 100644
--- a/forms/source/component/FormattedField.cxx
+++ b/forms/source/component/FormattedField.cxx
@@ -748,7 +748,7 @@ void OFormattedModel::read(const Reference<XObjectInputStream>& _rxInStream)
{ // since version 3 there is a "skippable" block at this position
OStreamSection aDownCompat(_rxInStream);
_rxInStream->readShort(); // sub-version
- // version 0 and higher : the "effective value" property
+ // version 0 and higher: the "effective value" property
Any aEffectiveValue;
{
OStreamSection aDownCompat2(_rxInStream);
@@ -763,10 +763,10 @@ void OFormattedModel::read(const Reference<XObjectInputStream>& _rxInStream)
case 2:
break;
case 3:
- OSL_FAIL("FmXFormattedModel::read : unknown effective value type !");
+ OSL_FAIL("FmXFormattedModel::read : unknown effective value type!");
}
}
- // this property is only to be set if we have no control source : in all other cases the base class did a
+ // this property is only to be set if we have no control source: in all other cases the base class made a
// reset after it's read and this set the effective value to a default value
if ( m_xAggregateSet.is() && getControlSource().isEmpty() )
{
diff --git a/forms/source/component/FormattedFieldWrapper.cxx b/forms/source/component/FormattedFieldWrapper.cxx
index 1a7cf9446190..b434e1bd2e84 100644
--- a/forms/source/component/FormattedFieldWrapper.cxx
+++ b/forms/source/component/FormattedFieldWrapper.cxx
@@ -237,7 +237,7 @@ void SAL_CALL OFormattedFieldWrapper::read(const Reference<XObjectInputStream>&
{
SolarMutexGuard g;
if (m_xAggregate.is())
- { // we already did a decision if we're an EditModel or a FormattedModel
+ { // we already made a decision if we're an EditModel or a FormattedModel
// if we act as formatted, we have to read the edit part first
if (m_xFormattedPart.is())