diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:40:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:40:59 +0200 |
commit | 6ef1c55fd2a157f82cbe75909f5d70cb48d1d53e (patch) | |
tree | f7463d68acf1c5ba07daae05bc0de18400e4f5ff /sfx2/source/control | |
parent | ae24507f2bb10937ae15a1aa4d74d1a7e8afda2b (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I1fee5879bbf0293dc765247f0587ce52c1570a3e
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/bindings.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/querystatus.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 6c0f24712283..3e72e8d6178b 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -1942,7 +1942,7 @@ SfxItemState SfxBindings::QueryState( sal_uInt16 nSlot, SfxPoolItem* &rpState ) ::com::sun::star::uno::Any aAny = pBind->GetStatus().State; ::com::sun::star::uno::Type pType = aAny.getValueType(); - if ( pType == ::getBooleanCppuType() ) + if ( pType == cppu::UnoType<bool>::get() ) { bool bTemp = false; aAny >>= bTemp ; diff --git a/sfx2/source/control/querystatus.cxx b/sfx2/source/control/querystatus.cxx index 751614ce9f1c..6d723655f027 100644 --- a/sfx2/source/control/querystatus.cxx +++ b/sfx2/source/control/querystatus.cxx @@ -111,7 +111,7 @@ throw( RuntimeException, std::exception ) m_eState = SfxItemState::DEFAULT; ::com::sun::star::uno::Type pType = rEvent.State.getValueType(); - if ( pType == ::getBooleanCppuType() ) + if ( pType == cppu::UnoType<bool>::get() ) { bool bTemp = false; rEvent.State >>= bTemp ; |