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 /dtrans/source/win32/ftransl | |
parent | 83a88b942134314e86ac612d0ef70a8e4919e4af (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
Diffstat (limited to 'dtrans/source/win32/ftransl')
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index 4348a7058085..156f4fac96f4 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -40,13 +40,13 @@ #define MODULE_PRIVATE #define CPPUTYPE_SEQSALINT8 getCppuType( (const Sequence< sal_Int8 >*) 0 ) #define CPPUTYPE_DEFAULT CPPUTYPE_SEQSALINT8 -#define CPPUTYPE_OUSTR getCppuType( (const OUString*) 0 ) -#define CPPUTYPE_SALINT32 getCppuType( ( sal_Int32 * ) 0 ) +#define CPPUTYPE_OUSTR cppu::UnoType<OUString>::get() +#define CPPUTYPE_SALINT32 cppu::UnoType<sal_Int32>::get() #define EMPTY_OUSTR OUString() const OUString Windows_FormatName ("windows_formatname"); const com::sun::star::uno::Type CppuType_ByteSequence = ::getCppuType((const com::sun::star::uno::Sequence<sal_Int8>*)0); -const com::sun::star::uno::Type CppuType_String = ::getCppuType((const OUString*)0); +const com::sun::star::uno::Type CppuType_String = ::cppu::UnoType<OUString>::get(); // namespace directives |