diff options
author | Kenneth Beck <overlordkb.dev@gmail.com> | 2013-03-01 23:33:49 -0600 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-06 10:39:30 +0100 |
commit | 21e1e859a7dc883a0347b6537e2518f4b2e9d0ff (patch) | |
tree | 144fb3c0960eecba48c322e0813423747c4ade1c /dbaccess/source | |
parent | 0ece7f368b499a010e3ecf2ffa193c242f9a78db (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/source')
-rw-r--r-- | dbaccess/source/core/dataaccess/datasource.cxx | 8 | ||||
-rw-r--r-- | dbaccess/source/filter/xml/xmlExport.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
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 ) |