diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-06 22:51:07 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-06 22:51:42 +0200 |
commit | db3b1dd86ed467889d595e080b00fc957eb155ff (patch) | |
tree | 75a3d77e016aae6605e97d94f71a2d3918873b68 /sfx2/source/control/statcach.cxx | |
parent | 3ed4078ad2e1bb35829b118a5067ad3a43365bbc (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part3
Change-Id: Ibabd6d2d5e84fe007364bd1a4182a01ea2352b7a
Diffstat (limited to 'sfx2/source/control/statcach.cxx')
-rw-r--r-- | sfx2/source/control/statcach.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index 6b5b5098de61..a21bfd88f75a 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -96,7 +96,7 @@ void SAL_CALL BindDispatch_Impl::statusChanged( const ::com::sun::star::frame:: ::com::sun::star::uno::Any aAny = aStatus.State; ::com::sun::star::uno::Type pType = aAny.getValueType(); - if ( pType == ::getBooleanCppuType() ) + if ( pType == cppu::UnoType< bool >::get() ) { bool bTemp = false; aAny >>= bTemp ; |