diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-27 08:46:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-27 08:46:07 +0200 |
commit | 079eee6fdb3883029cf3bf4ca861ed2a7c06058d (patch) | |
tree | 7a22d67cc29f31535fa9ce896c391b3ba146dd4f /dtrans | |
parent | 49145c2fd51d763f60d428600119bb7a0f440af2 (diff) |
loplugin:unnecessarycatchthrow (clang-cl)
Change-Id: Ie564d16cbd23929cea0e54d38a451b4bfa4fbe84
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/dtobj/DOTransferable.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx index 4303c69b3fb7..311e3a2320b9 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.cxx +++ b/dtrans/source/win32/dtobj/DOTransferable.cxx @@ -230,14 +230,8 @@ Any SAL_CALL CDOTransferable::getTransferData( const DataFlavor& aFlavor ) // check CF_DIB availability as an alternative fetc.setClipformat(CF_DIB); - try - { - clipDataStream = getClipboardData( fetc ); - } - catch( UnsupportedFlavorException& ) - { - throw; // pass through, tried all possibilities - } + clipDataStream = getClipboardData( fetc ); + // pass UnsupportedFlavorException out, tried all possibilities } else throw; // pass through exception |