diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-25 16:40:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-25 16:40:46 +0200 |
commit | 5258b85ff4cc49ea02873ba7311f9873eb101d4e (patch) | |
tree | 20982ab3a7fdba30a74d524a64a708b398505fcd /dbaccess | |
parent | 4b9faadd866f66e3e086e37d07cdaf81d988939f (diff) |
Some more sal_Bool -> bool
Change-Id: I997d780abb5fc02156c2e6d7a3ecc34ca46b67cb
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/propertystorage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/propertystorage.cxx b/dbaccess/source/ui/misc/propertystorage.cxx index c3234a0c28e6..d5ab60a61b3f 100644 --- a/dbaccess/source/ui/misc/propertystorage.cxx +++ b/dbaccess/source/ui/misc/propertystorage.cxx @@ -82,7 +82,7 @@ namespace dbaui const SfxPoolItem& rItem( m_rItemSet.Get( m_nItemID ) ); // try some known item types - if ( ItemAdapter< SfxBoolItem, sal_Bool >::tryGet( rItem, _out_rValue ) + if ( ItemAdapter< SfxBoolItem, bool >::tryGet( rItem, _out_rValue ) || ItemAdapter< SfxStringItem, OUString >::tryGet( rItem, _out_rValue ) ) return; @@ -93,7 +93,7 @@ namespace dbaui void SetItemPropertyStorage::setPropertyValue( const Any& _rValue ) { // try some known item types - if ( ItemAdapter< SfxBoolItem, sal_Bool >::trySet( m_rItemSet, m_nItemID, _rValue ) + if ( ItemAdapter< SfxBoolItem, bool >::trySet( m_rItemSet, m_nItemID, _rValue ) || ItemAdapter< SfxStringItem, OUString >::trySet( m_rItemSet, m_nItemID, _rValue ) ) return; |