diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:42 +0200 |
commit | 59a051d27d81114ca188c47db23a97c482fdfec6 (patch) | |
tree | 99f27147d4009d45476bf97ef9e074748dfb1053 /dtrans/test | |
parent | d6db9f5125592293addbdb95aa64748bc8dea23d (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Ic063dda4152b794898011af375a4a53d7451e41a
Diffstat (limited to 'dtrans/test')
-rw-r--r-- | dtrans/test/win32/dnd/targetlistener.cxx | 2 | ||||
-rw-r--r-- | dtrans/test/win32/dnd/transferable.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/test/win32/dnd/targetlistener.cxx b/dtrans/test/win32/dnd/targetlistener.cxx index e531a30304e0..0a93d394560a 100644 --- a/dtrans/test/win32/dnd/targetlistener.cxx +++ b/dtrans/test/win32/dnd/targetlistener.cxx @@ -43,7 +43,7 @@ void SAL_CALL DropTargetListener::drop( const DropTargetDropEvent& e ) e.Context->rejectDrop(); DataFlavor flavor( OUString(OUString("text/plain;charset=windows-1252")), - OUString(L"Text plain"), getCppuType( ( Sequence<sal_Int8>*)0 ) ); + OUString(L"Text plain"), cppu::UnoType<Sequence<sal_Int8>>::get() ); Any anyData= e.Transferable->getTransferData( flavor); Sequence<sal_Int8> seq= *( Sequence<sal_Int8>*)anyData.getValue(); diff --git a/dtrans/test/win32/dnd/transferable.cxx b/dtrans/test/win32/dnd/transferable.cxx index b9bd35f82928..924c031763b5 100644 --- a/dtrans/test/win32/dnd/transferable.cxx +++ b/dtrans/test/win32/dnd/transferable.cxx @@ -36,7 +36,7 @@ CTransferable::CTransferable( wchar_t* dataString ) : //df.MimeType = L"text/plain; charset=windows1252"; df.MimeType = L"text/plain"; - df.DataType = getCppuType( ( Sequence< sal_Int8 >* )0 ); + df.DataType = cppu::UnoType<Sequence< sal_Int8 >>::get(); m_seqDFlv[0] = df; } |