diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:39:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:39:26 +0200 |
commit | e4c1c0829a44a5992efa35a8445cb3448dc10960 (patch) | |
tree | d35194ad775ba1ad1553b9ac886b2a23ba5d3022 /framework/source/recording | |
parent | 2fb62e527e2ebac187fe80550a40e637b4bf187a (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I320895b73f101986e1aab95668c7b76e04315aab
Diffstat (limited to 'framework/source/recording')
-rw-r--r-- | framework/source/recording/dispatchrecorder.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx index 48affcc5dd59..e49d43f3d61b 100644 --- a/framework/source/recording/dispatchrecorder.cxx +++ b/framework/source/recording/dispatchrecorder.cxx @@ -180,7 +180,7 @@ void SAL_CALL DispatchRecorder::AppendToBuffer( css::uno::Any aValue, OUStringBu // convert to "Sequence of any" css::uno::Sequence < css::uno::Any > aSeq; css::uno::Any aNew; - try { aNew = m_xConverter->convertTo( aValue, ::getCppuType((const css::uno::Sequence < css::uno::Any >*)0) ); } + try { aNew = m_xConverter->convertTo( aValue, cppu::UnoType<css::uno::Sequence < css::uno::Any >>::get() ); } catch (const css::uno::Exception&) {} aNew >>= aSeq; @@ -251,7 +251,7 @@ void SAL_CALL DispatchRecorder::AppendToBuffer( css::uno::Any aValue, OUStringBu else aArgumentBuffer.appendAscii("\"\""); } - else if (aValue.getValueType() == getCppuCharType()) + else if (aValue.getValueType() == cppu::UnoType<cppu::UnoCharType>::get()) { // character variables are recorded as strings, back conversion must be handled in client code sal_Unicode nVal = *static_cast<sal_Unicode const *>(aValue.getValue()); |