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/statbar | |
parent | ae24507f2bb10937ae15a1aa4d74d1a7e8afda2b (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I1fee5879bbf0293dc765247f0587ce52c1570a3e
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r-- | sfx2/source/statbar/stbitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index ee16671f3944..bd3a3969eac4 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -257,12 +257,12 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception ) eState = SfxItemState::DEFAULT; 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 ; |