[Libreoffice-commits] core.git: toolkit/source

Stephan Bergmann sbergman at redhat.com
Tue May 6 14:07:29 PDT 2014


 toolkit/source/controls/unocontrolmodel.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 127a5f5e12d33203f871ee810e4b7ef557b7764b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 6 23:06:59 2014 +0200

    Sequence<UnoUnsignedShortType> -> UnoSequenceType<UnoUnsignedShortType>
    
    Change-Id: I94fb4e0c76cc0cac2b6cf3a356e8fd9ffb76a1af

diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index 6f64bf9..0e3b41d 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();


More information about the Libreoffice-commits mailing list