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/toolbox | |
parent | ae24507f2bb10937ae15a1aa4d74d1a7e8afda2b (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I1fee5879bbf0293dc765247f0587ce52c1570a3e
Diffstat (limited to 'sfx2/source/toolbox')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 027d4406adf8..a16c0bbf4674 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -515,12 +515,12 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception ) eState = SfxItemState::DEFAULT; ::com::sun::star::uno::Type pType = rEvent.State.getValueType(); - if ( pType == ::getVoidCppuType() ) + if ( pType == cppu::UnoType<cppu::UnoVoidType>::get() ) { pItem = new SfxVoidItem( nSlotId ); eState = SfxItemState::UNKNOWN; } - else if ( pType == ::getBooleanCppuType() ) + else if ( pType == cppu::UnoType<bool>::get() ) { bool bTemp = false; rEvent.State >>= bTemp ; @@ -1069,12 +1069,12 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception ) eState = SfxItemState::DEFAULT; ::com::sun::star::uno::Type pType = rEvent.State.getValueType(); - if ( pType == ::getVoidCppuType() ) + if ( pType == cppu::UnoType<cppu::UnoVoidType>::get() ) { pItem = new SfxVoidItem( nSlotId ); eState = SfxItemState::UNKNOWN; } - else if ( pType == ::getBooleanCppuType() ) + else if ( pType == cppu::UnoType<bool>::get() ) { bool bTemp = false; rEvent.State >>= bTemp ; |