From 93a9f170be76965ec004b200ac939e55e8382ca0 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 10 Dec 2011 22:14:57 +0900 Subject: catch exception by constant reference --- extensions/source/dbpilots/dbptools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source/dbpilots/dbptools.cxx') diff --git a/extensions/source/dbpilots/dbptools.cxx b/extensions/source/dbpilots/dbptools.cxx index 970bb59d6b9a..8df666e8ec9b 100644 --- a/extensions/source/dbpilots/dbptools.cxx +++ b/extensions/source/dbpilots/dbptools.cxx @@ -57,7 +57,7 @@ namespace dbp // can't do anything ... no free names _rElementsName = sBase; } - catch(Exception&) + catch(const Exception&) { OSL_FAIL("::dbp::disambiguateName: something went (strangely) wrong!"); } -- cgit