summaryrefslogtreecommitdiff
path: root/comphelper
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 /comphelper
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 'comphelper')
-rw-r--r--comphelper/source/property/opropertybag.cxx2
-rw-r--r--comphelper/source/property/propertybag.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx
index ebb3dfa4175b..f7418ba148d1 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -499,7 +499,7 @@ namespace comphelper
if ( m_bAutoAddProperties )
{
// add the property
- sal_Int16 nAttributes = PropertyAttribute::BOUND | PropertyAttribute::REMOVEABLE | PropertyAttribute::MAYBEDEFAULT;
+ sal_Int16 nAttributes = PropertyAttribute::BOUND | PropertyAttribute::REMOVABLE | PropertyAttribute::MAYBEDEFAULT;
addProperty( *pName, nAttributes, pProperty->Value );
continue;
}
diff --git a/comphelper/source/property/propertybag.cxx b/comphelper/source/property/propertybag.cxx
index 44285bfab808..bd519ede84cc 100644
--- a/comphelper/source/property/propertybag.cxx
+++ b/comphelper/source/property/propertybag.cxx
@@ -151,7 +151,7 @@ namespace comphelper
{
const Property& rProp = getProperty( _rName );
// will throw an UnknownPropertyException if necessary
- if ( ( rProp.Attributes & PropertyAttribute::REMOVEABLE ) == 0 )
+ if ( ( rProp.Attributes & PropertyAttribute::REMOVABLE ) == 0 )
throw NotRemoveableException( ::rtl::OUString(), NULL );
const sal_Int32 nHandle = rProp.Handle;