diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:40:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:40:44 +0200 |
commit | 4f5b03433db779dfd779bb1a221338dd89b420e6 (patch) | |
tree | 2f272f83e16db8dc8b7139f370621f7104d78ce2 /sccomp/source/solver | |
parent | 3f80ac477354f4c6293d983d3ca9eef59a07dce0 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I7657e83fd1494a199528482d7000940cfa2f60d4
Diffstat (limited to 'sccomp/source/solver')
-rw-r--r-- | sccomp/source/solver/SolverComponent.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sccomp/source/solver/SolverComponent.cxx b/sccomp/source/solver/SolverComponent.cxx index 7b91a39c8f5a..910fbf93c770 100644 --- a/sccomp/source/solver/SolverComponent.cxx +++ b/sccomp/source/solver/SolverComponent.cxx @@ -106,11 +106,11 @@ SolverComponent::SolverComponent() : mfResultValue( 0.0 ) { // for XPropertySet implementation: - registerProperty( STR_NONNEGATIVE, PROP_NONNEGATIVE, 0, &mbNonNegative, getCppuType( &mbNonNegative ) ); - registerProperty( STR_INTEGER, PROP_INTEGER, 0, &mbInteger, getCppuType( &mbInteger ) ); - registerProperty( STR_TIMEOUT, PROP_TIMEOUT, 0, &mnTimeout, getCppuType( &mnTimeout ) ); - registerProperty( STR_EPSILONLEVEL, PROP_EPSILONLEVEL, 0, &mnEpsilonLevel, getCppuType( &mnEpsilonLevel ) ); - registerProperty( STR_LIMITBBDEPTH, PROP_LIMITBBDEPTH, 0, &mbLimitBBDepth, getCppuType( &mbLimitBBDepth ) ); + registerProperty( STR_NONNEGATIVE, PROP_NONNEGATIVE, 0, &mbNonNegative, cppu::UnoType<decltype(mbNonNegative)>::get() ); + registerProperty( STR_INTEGER, PROP_INTEGER, 0, &mbInteger, cppu::UnoType<decltype(mbInteger)>::get() ); + registerProperty( STR_TIMEOUT, PROP_TIMEOUT, 0, &mnTimeout, cppu::UnoType<decltype(mnTimeout)>::get() ); + registerProperty( STR_EPSILONLEVEL, PROP_EPSILONLEVEL, 0, &mnEpsilonLevel, cppu::UnoType<decltype(mnEpsilonLevel)>::get() ); + registerProperty( STR_LIMITBBDEPTH, PROP_LIMITBBDEPTH, 0, &mbLimitBBDepth, cppu::UnoType<decltype(mbLimitBBDepth)>::get() ); } SolverComponent::~SolverComponent() |