summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorKenneth Beck <overlordkb.dev@gmail.com>2013-03-01 23:33:49 -0600
committerStephan Bergmann <sbergman@redhat.com>2013-03-06 10:39:30 +0100
commit21e1e859a7dc883a0347b6537e2518f4b2e9d0ff (patch)
tree144fb3c0960eecba48c322e0813423747c4ade1c /dbaccess
parent0ece7f368b499a010e3ecf2ffa193c242f9a78db (diff)
fdo#60724 change spelling error REMOVEABLE -> REMOVABLE
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/qa/complex/dbaccess/PropertyBag.java4
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx8
-rw-r--r--dbaccess/source/filter/xml/xmlExport.cxx4
3 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/qa/complex/dbaccess/PropertyBag.java b/dbaccess/qa/complex/dbaccess/PropertyBag.java
index 07884545d8e1..02389a783665 100644
--- a/dbaccess/qa/complex/dbaccess/PropertyBag.java
+++ b/dbaccess/qa/complex/dbaccess/PropertyBag.java
@@ -91,7 +91,7 @@ public class PropertyBag extends TestCase
}
// try removing the property we just added - this should fail, as it does not have
- // the REMOVEABLE attribute
+ // the REMOVABLE attribute
caughtExpected = false;
try
{
@@ -101,7 +101,7 @@ public class PropertyBag extends TestCase
catch(com.sun.star.uno.Exception e) { }
if ( !caughtExpected )
{
- fail("removing non-removeable properties is expected to fail - but it didn't");
+ fail("removing non-removable properties is expected to fail - but it didn't");
}
// try removing a non-existent property
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index d858c4ff4254..42cc6409bc91 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -478,7 +478,7 @@ namespace
PropertyAttributeCache::const_iterator pos = m_rAttribs.find( _rProp.Name );
OSL_ENSURE( pos != m_rAttribs.end(), "IsDefaultAndNotRemoveable: illegal property name!" );
if ( pos != m_rAttribs.end() )
- bRemoveable = ( ( pos->second & PropertyAttribute::REMOVEABLE ) != 0 );
+ bRemoveable = ( ( pos->second & PropertyAttribute::REMOVABLE ) != 0 );
return !bRemoveable;
}
@@ -871,8 +871,8 @@ namespace
The method takes a property bag, and a sequence of property values to set for this bag.
Upon return, every property which is not part of the given sequence is
- <ul><li>removed from the bag, if it's a removeable property</li>
- <li><em>or</em>reset to its default value, if it's not a removeable property</li>
+ <ul><li>removed from the bag, if it's a removable property</li>
+ <li><em>or</em>reset to its default value, if it's not a removable property</li>
</ul>.
@param _rxPropertyBag
@@ -912,7 +912,7 @@ namespace
// this property is not to be set, but currently exists in the bag.
// -> Remove it, or reset it to the default.
- if ( ( pExistentProperty->Attributes & PropertyAttribute::REMOVEABLE ) != 0 )
+ if ( ( pExistentProperty->Attributes & PropertyAttribute::REMOVABLE ) != 0 )
xPropertyContainer->removeProperty( pExistentProperty->Name );
else
xPropertyState->setPropertyToDefault( pExistentProperty->Name );
diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx
index 53fbca513dfe..7afd9beb6652 100644
--- a/dbaccess/source/filter/xml/xmlExport.cxx
+++ b/dbaccess/source/filter/xml/xmlExport.cxx
@@ -389,9 +389,9 @@ void ODBExport::exportDataSource()
if ( eToken == XML_TOKEN_INVALID )
{
- // for properties which are not REMOVEABLE, we care for their state, and
+ // for properties which are not REMOVABLE, we care for their state, and
// only export them if they're not DEFAULTed
- if ( ( pProperties->Attributes & PropertyAttribute::REMOVEABLE ) == 0 )
+ if ( ( pProperties->Attributes & PropertyAttribute::REMOVABLE ) == 0 )
{
PropertyState ePropertyState = xSettingsState->getPropertyState( pProperties->Name );
if ( PropertyState_DEFAULT_VALUE == ePropertyState )