diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 00:14:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 06:19:42 +0200 |
commit | 5ec7a589bed7991ffe8ad9a2f544a6699d159765 (patch) | |
tree | f9020375a29477fe7e4d22970a4040c36abadbdf /oox | |
parent | 83a88b942134314e86ac612d0ef70a8e4919e4af (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/helper/propertymap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index 1e5af51263b5..8eb755fcf633 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -442,7 +442,7 @@ static void lclDumpAnyValue( Any value) fprintf (stderr, "%s\n", s); } else if( value >>= spacing ) { fprintf (stderr, "mode: %d value: %d\n", spacing.Mode, spacing.Height); - } else if( value.isExtractableTo(::getCppuType((const sal_Int32*)0))) { + } else if( value.isExtractableTo(::cppu::UnoType<sal_Int32>::get())) { fprintf (stderr,"is extractable to int32\n"); } // else if( value >>= pointValue ) @@ -893,7 +893,7 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0) fprintf (stderr, "aSize.Height = %" SAL_PRIdINT32 ";\n", size.Height); return "aSize"; } - else if( value.isExtractableTo(::getCppuType((const sal_Int32*)0))) { + else if( value.isExtractableTo(::cppu::UnoType<sal_Int32>::get())) { fprintf (stderr,"is extractable to int32\n"); } else |