diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-06 23:06:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-06 23:06:59 +0200 |
commit | 127a5f5e12d33203f871ee810e4b7ef557b7764b (patch) | |
tree | 38c9e7d963ff0b3888d43b9dc0e15a8cdf924ea4 | |
parent | Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part3 (diff) | |
download | core-127a5f5e12d33203f871ee810e4b7ef557b7764b.tar.gz core-127a5f5e12d33203f871ee810e4b7ef557b7764b.zip |
Sequence<UnoUnsignedShortType> -> UnoSequenceType<UnoUnsignedShortType>
Change-Id: I94fb4e0c76cc0cac2b6cf3a356e8fd9ffb76a1af
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 6f64bf978824..0e3b41df3481 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -652,7 +652,7 @@ void UnoControlModel::write( const ::com::sun::star::uno::Reference< ::com::sun: for ( long n = 0; n < nEntries; n++ ) OutStream->writeUTF( aSeq.getConstArray()[n] ); } - else if ( rType == cppu::UnoType< ::com::sun::star::uno::Sequence< ::cppu::UnoUnsignedShortType > >::get() ) + else if ( rType == cppu::UnoType< cppu::UnoSequenceType<cppu::UnoUnsignedShortType> >::get() ) { ::com::sun::star::uno::Sequence<sal_uInt16> aSeq; rValue >>= aSeq; @@ -867,7 +867,7 @@ void UnoControlModel::read( const ::com::sun::star::uno::Reference< ::com::sun:: aValue <<= aSeq; } - else if ( *pType == cppu::UnoType< ::com::sun::star::uno::Sequence< ::cppu::UnoUnsignedShortType > >::get() ) + else if ( *pType == cppu::UnoType< cppu::UnoSequenceType<cppu::UnoUnsignedShortType> >::get() ) { long nEntries = InStream->readLong(); |