diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-25 10:00:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 13:50:25 +0200 |
commit | ccb8b8307079fe3f57d4d745ed331fba0466998e (patch) | |
tree | 22d839806d1e2211c954f321c8742be2b0853258 /dbaccess/source | |
parent | bf7690bc1b444278bef1e355c7463d27381a8700 (diff) |
convert FilterComponent to scoped enum
and simplify the overly-general logic in FilterManager
Change-Id: I2cbd9db6a53894cd13713a5cc0d1807cec456848
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/misc/DatabaseDataProvider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx b/dbaccess/source/core/misc/DatabaseDataProvider.cxx index 5a107f04ba41..2e71809c1f75 100644 --- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx +++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx @@ -496,14 +496,14 @@ void SAL_CALL DatabaseDataProvider::setCommandType(::sal_Int32 the_value) throw OUString SAL_CALL DatabaseDataProvider::getFilter() throw (uno::RuntimeException, std::exception) { osl::MutexGuard g(m_aMutex); - return m_aFilterManager.getFilterComponent( dbtools::FilterManager::fcPublicFilter ); + return m_aFilterManager.getFilterComponent( dbtools::FilterManager::FilterComponent::PublicFilter ); } void SAL_CALL DatabaseDataProvider::setFilter(const OUString & the_value) throw (uno::RuntimeException, std::exception) { { osl::MutexGuard g(m_aMutex); - m_aFilterManager.setFilterComponent( dbtools::FilterManager::fcPublicFilter, the_value ); + m_aFilterManager.setFilterComponent( dbtools::FilterManager::FilterComponent::PublicFilter, the_value ); } set(PROPERTY_FILTER,the_value,m_Filter); } |