summaryrefslogtreecommitdiffstats
path: root/dtrans
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-27 08:46:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-27 08:46:07 +0200
commit079eee6fdb3883029cf3bf4ca861ed2a7c06058d (patch)
tree7a22d67cc29f31535fa9ce896c391b3ba146dd4f /dtrans
parentTypo: Grafic -> Graphic (diff)
downloadcore-079eee6fdb3883029cf3bf4ca861ed2a7c06058d.tar.gz
core-079eee6fdb3883029cf3bf4ca861ed2a7c06058d.zip
loplugin:unnecessarycatchthrow (clang-cl)
Change-Id: Ie564d16cbd23929cea0e54d38a451b4bfa4fbe84
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/dtobj/DOTransferable.cxx10
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