summaryrefslogtreecommitdiff
path: root/dtrans/source/generic/clipboardmanager.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-18 00:49:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:08:37 +0100
commitdfcb6799d7ec99e8cdcab344ffd92dc8c13c17b0 (patch)
tree89bd2bcaeeb96acbd442a3a395c22614d0529797 /dtrans/source/generic/clipboardmanager.cxx
parent86e420075cfc47c21a8c755e10507f018c3ce925 (diff)
catch by const reference
Diffstat (limited to 'dtrans/source/generic/clipboardmanager.cxx')
-rw-r--r--dtrans/source/generic/clipboardmanager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/generic/clipboardmanager.cxx b/dtrans/source/generic/clipboardmanager.cxx
index 5fdc78b19f4a..d6dc32226037 100644
--- a/dtrans/source/generic/clipboardmanager.cxx
+++ b/dtrans/source/generic/clipboardmanager.cxx
@@ -219,8 +219,7 @@ void SAL_CALL ClipboardManager::dispose()
xComponent->removeEventListener(static_cast < XEventListener * > (this));
xComponent->dispose();
}
-
- catch(Exception e)
+ catch (const Exception&)
{
// exceptions can be safely ignored here.
}