diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 17:44:52 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 20:32:40 +0100 |
commit | d2f57b6c1275e0e6ed7f214d471ddb84ecb1b4ad (patch) | |
tree | 1728c15960c67ec9cc322e83ed37e0dc8e1f51b6 /extensions | |
parent | a2454a42ad2236f0f6b88be166bc7e6a8f90f036 (diff) |
fdo#43460: use isEmpty()
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index 9bd7a4ae6996..c6551f42fa3c 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -1375,7 +1375,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* { exactName = m_xExactName->getExactName( info.name); // invoke again - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doInvoke( pdispparams, pvarResult, pexcepinfo, puArgErr, exactName, params))) @@ -1400,7 +1400,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* { exactName = m_xExactName->getExactName( info.name); // invoke again - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doSetProperty( pdispparams, pvarResult, pexcepinfo, puArgErr, exactName, params))) @@ -1424,7 +1424,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* { exactName = m_xExactName->getExactName( info.name); // invoke again - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doGetProperty( pdispparams, pvarResult, pexcepinfo, exactName))) @@ -1452,7 +1452,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* { exactName = m_xExactName->getExactName( info.name); // invoke again - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doInvoke( pdispparams, pvarResult, pexcepinfo, puArgErr, exactName, params))) @@ -1471,7 +1471,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* && ret == DISP_E_MEMBERNOTFOUND) { // try to get the exact name - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doSetProperty( pdispparams, pvarResult, pexcepinfo, puArgErr, exactName, params))) @@ -1496,7 +1496,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* { exactName = m_xExactName->getExactName( info.name); // invoke again - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doInvoke( pdispparams, pvarResult, pexcepinfo, puArgErr, exactName, params))) @@ -1514,7 +1514,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /* pexcepinfo, info.name)) && ret == DISP_E_MEMBERNOTFOUND) { - if( exactName.getLength() != 0) + if( !exactName.isEmpty() ) { if( SUCCEEDED( ret= doSetProperty( pdispparams, pvarResult, pexcepinfo, puArgErr, exactName, params))) |