diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-19 22:37:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-20 11:01:38 +0100 |
commit | 5cbd9a7be2ee05499bd730f2e7bd8b35ce881217 (patch) | |
tree | 7c52e5d1a5324ae9ffe0e75dd525582ba30994d8 /sd/source/ui/tools/TimerBasedTaskExecution.cxx | |
parent | debug STL needs visible typeinfo (diff) | |
download | core-5cbd9a7be2ee05499bd730f2e7bd8b35ce881217.tar.gz core-5cbd9a7be2ee05499bd730f2e7bd8b35ce881217.zip |
catch by const reference
Diffstat (limited to 'sd/source/ui/tools/TimerBasedTaskExecution.cxx')
-rw-r--r-- | sd/source/ui/tools/TimerBasedTaskExecution.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx index 6822b917cb7d..cbd75f6979a6 100644 --- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx +++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx @@ -91,7 +91,7 @@ void TimerBasedTaskExecution::ReleaseTask ( ::boost::shared_ptr<tools::TimerBasedTaskExecution> pExecution (rpExecution); pExecution->Release(); } - catch (::boost::bad_weak_ptr) + catch (const ::boost::bad_weak_ptr&) { // When a bad_weak_ptr has been thrown then the object pointed // to by rpTask has been released right after we checked that it |