From 2eb76fb0bd4b8572866d3c2390eaa82747890292 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Wed, 7 Mar 2012 18:19:18 +0100 Subject: cppcheck (bzr r11052) --- src/ui/widget/selected-style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/widget') diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index 9ae853aaf..ab7b99237 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -1439,7 +1439,7 @@ Dialog::FillAndStroke *get_fill_and_stroke_panel(SPDesktop *desktop) Dialog::FillAndStroke &fill_and_stroke = dynamic_cast(panel_dialog->getPanel()); return &fill_and_stroke; - } catch (std::exception e) { } + } catch (std::exception &e) { } } return 0; -- cgit v1.2.3