diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-25 10:48:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 13:50:25 +0200 |
commit | 049d9a81614eebce118da489f431144ed2e71c05 (patch) | |
tree | 3f63fba459147f891100fb61818056c9332b3287 /include | |
parent | ccb8b8307079fe3f57d4d745ed331fba0466998e (diff) |
convert ParameterClassification to scoped enum
Change-Id: Iab3d2db50acc1f70b352dd0fd5f1270693a8e991
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/parameters.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/connectivity/parameters.hxx b/include/connectivity/parameters.hxx index 02667a9a5452..476a8c2ca5f6 100644 --- a/include/connectivity/parameters.hxx +++ b/include/connectivity/parameters.hxx @@ -53,19 +53,19 @@ namespace dbtools { public: /// classifies the origin of the data to fill a parameter - enum ParameterClassification + enum class ParameterClassification { /** parameters which are filled from the master-detail relationship, where the detail name is an explicit parameter name */ - eLinkedByParamName, + LinkedByParamName, /** parameters which are filled from the master-detail relationship, where the detail name is a column name, so an implicit parameter had to be generated for it */ - eLinkedByColumnName, + LinkedByColumnName, /** parameters which are filled externally (i.e. by XParameters::setXXX, or by the parameter listeners) */ - eFilledExternally + FilledExternally }; /** meta data about an inner parameter */ @@ -82,13 +82,13 @@ namespace dbtools /// default ctor ParameterMetaData() - :eType( eFilledExternally ) + :eType( ParameterClassification::FilledExternally ) { } /// ctor with composer column ParameterMetaData( const css::uno::Reference< css::beans::XPropertySet >& _rxColumn ) - :eType ( eFilledExternally ) + :eType ( ParameterClassification::FilledExternally ) ,xComposerColumn ( _rxColumn ) { } |