diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-17 00:23:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-17 00:24:22 +0200 |
commit | dd33f91581aaca03a83a70d94195338516742fa2 (patch) | |
tree | f5ca034e1a928d43cbc00d637bdf3c256dffea7d /dtrans/source/generic | |
parent | 8ae06100856964d849e8c6ecbc85cbb44bcf0414 (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14
Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
Diffstat (limited to 'dtrans/source/generic')
-rw-r--r-- | dtrans/source/generic/generic_clipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/generic/generic_clipboard.cxx b/dtrans/source/generic/generic_clipboard.cxx index fee760708b90..d71161980829 100644 --- a/dtrans/source/generic/generic_clipboard.cxx +++ b/dtrans/source/generic/generic_clipboard.cxx @@ -135,7 +135,7 @@ void SAL_CALL GenericClipboard::addClipboardListener( const Reference< XClipboar OSL_ENSURE( !rBHelper.bInDispose, "do not add listeners in the dispose call" ); OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" ); if (!rBHelper.bInDispose && !rBHelper.bDisposed) - rBHelper.aLC.addInterface( getCppuType( (const ::com::sun::star::uno::Reference< XClipboardListener > *) 0), listener ); + rBHelper.aLC.addInterface( cppu::UnoType<XClipboardListener>::get(), listener ); } void SAL_CALL GenericClipboard::removeClipboardListener( const Reference< XClipboardListener >& listener ) |