[Libreoffice-commits] core.git: cppuhelper/test sd/source

Julien Nabet serval2412 at yahoo.fr
Sun May 11 02:34:40 PDT 2014


 cppuhelper/test/testpropshlp.cxx  |    8 ++++----
 sd/source/filter/xml/sdxmlwrp.cxx |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 68e7692d2a961f319bb4f4d0f2d756e6f0e90d1d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun May 11 11:34:09 2014 +0200

    Fix previous commit
    
    Change-Id: Iebd7674cc8afb547821878dd1565b0f300d22f1f

diff --git a/cppuhelper/test/testpropshlp.cxx b/cppuhelper/test/testpropshlp.cxx
index af2bcad..90145e3 100644
--- a/cppuhelper/test/testpropshlp.cxx
+++ b/cppuhelper/test/testpropshlp.cxx
@@ -56,7 +56,7 @@ static Property * getPropertyTable1()
                              PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ), //OUString
                 Property( OUString("b"), 1, getCppuCharType( ) ,
                              PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ), //Char
-                Property( OUString("c"), 2, cppu::UnoType<sal_Int32>::get()0) ,
+                Property( OUString("c"), 2, cppu::UnoType<sal_Int32>::get(),
                              PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ), //sal_Int32
                 Property( OUString("d"), 5, getCppuType( (double*)0)     ,
                              PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ), //double
@@ -89,7 +89,7 @@ static Property * getPropertyTable2()
                                     PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ),   // OUString
                 Property( OUString("d"), 5, getCppuType( (double*)0) ,
                                     PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ),   // Double
-                Property( OUString("c"), 2, cppu::UnoType<sal_Int32>::get()0),
+                Property( OUString("c"), 2, cppu::UnoType<sal_Int32>::get(),
                                     PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID ),   // sal_Int32
                 Property( OUString("e"), 7, getCppuBooleanType()         ,
                                     PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID )    // Bool
@@ -411,8 +411,8 @@ Property * getBasicProps()
                  Property( OUString("BOOL")  , PROPERTY_BOOL , getCppuBooleanType(), PropertyAttribute::READONLY ),
                  Property( OUString("INT16") , PROPERTY_INT16,
                                  getCppuType( (sal_Int16*)0 ),  PropertyAttribute::BOUND | PropertyAttribute::CONSTRAINED ),
-                 Property( OUString("INT32") , PROPERTY_INT32, cppu::UnoType<sal_Int32>::get()0 ), PropertyAttribute::BOUND ),
-                 Property( OUString("TEST")  , 55            , cppu::UnoType<sal_Int32>::get()0),  PropertyAttribute::BOUND )
+                 Property( OUString("INT32") , PROPERTY_INT32, cppu::UnoType<sal_Int32>::get(), PropertyAttribute::BOUND ),
+                 Property( OUString("TEST")  , 55            , cppu::UnoType<sal_Int32>::get(),  PropertyAttribute::BOUND )
             };
             pTable = aBasicProps;
         }
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 4b6d092..680e865 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -444,7 +444,7 @@ bool SdXMLFilter::Import( ErrCode& nError )
         { OUString("ProgressRange"),   0, ::cppu::UnoType<sal_Int32>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
         { OUString("ProgressMax"),     0, ::cppu::UnoType<sal_Int32>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
         { OUString("ProgressCurrent"), 0, ::cppu::UnoType<sal_Int32>::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
-        { OUString("Preview"),         0, ::cppu::UnoType<sal_Bool>::get()0),  ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+        { OUString("Preview"),         0, ::cppu::UnoType<sal_Bool>::get(),  ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
         { OUString("PageLayouts"), 0, ::getCppuType((const uno::Reference< container::XNameAccess >*)0),  ::com::sun::star::beans::PropertyAttribute::MAYBEVOID,     0},
         { OUString("PrivateData"), 0,
               ::getCppuType( (Reference<XInterface> *)0 ),


More information about the Libreoffice-commits mailing list