diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 16:00:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-24 11:48:38 +0200 |
commit | cdf176c9749ed1a0c2faceeae0c73bf735c5b00b (patch) | |
tree | aab701bf7703c612939a1a6633746e0c2d91aba2 /include/comphelper/propertycontainerhelper.hxx | |
parent | 3b168bc6854cb494cf3a0c1e826ce3fed1d0c141 (diff) |
convert PropertyDescription::LocationType to scoped enum
Change-Id: Ifcd6bf1728c632ed10301c4a426dae57dbf0912a
Diffstat (limited to 'include/comphelper/propertycontainerhelper.hxx')
-rw-r--r-- | include/comphelper/propertycontainerhelper.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/comphelper/propertycontainerhelper.hxx b/include/comphelper/propertycontainerhelper.hxx index 0fe37bbc0d51..39bdcbf9df56 100644 --- a/include/comphelper/propertycontainerhelper.hxx +++ b/include/comphelper/propertycontainerhelper.hxx @@ -35,11 +35,11 @@ namespace comphelper struct COMPHELPER_DLLPUBLIC PropertyDescription { // the possibilities where a property holding object may be located - enum LocationType + enum class LocationType { - ltDerivedClassRealType, // within the derived class, it's a "real" (non-Any) type - ltDerivedClassAnyType, // within the derived class, it's a com.sun.star.uno::Any - ltHoldMyself // within m_aHoldProperties + DerivedClassRealType, // within the derived class, it's a "real" (non-Any) type + DerivedClassAnyType, // within the derived class, it's a com.sun.star.uno::Any + HoldMyself // within m_aHoldProperties }; // the location of an object holding a property value : union LocationAccess @@ -54,7 +54,7 @@ struct COMPHELPER_DLLPUBLIC PropertyDescription PropertyDescription() :aProperty( OUString(), -1, css::uno::Type(), 0 ) - ,eLocated( ltHoldMyself ) + ,eLocated( LocationType::HoldMyself ) { aLocation.nOwnClassVectorIndex = -1; } |