From e1a1091d0ae61ba46c6d063a92db0b7d1ce65942 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 24 Aug 2011 11:22:56 +0900 Subject: catch ignored exceptions by const reference --- autodoc/source/parser_i/idl/unoidl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autodoc') diff --git a/autodoc/source/parser_i/idl/unoidl.cxx b/autodoc/source/parser_i/idl/unoidl.cxx index 740a4ecab1ad..204e6c6c4249 100644 --- a/autodoc/source/parser_i/idl/unoidl.cxx +++ b/autodoc/source/parser_i/idl/unoidl.cxx @@ -102,7 +102,7 @@ IdlParser::Run( const autodoc::FileCollector_Ifc & i_rFiles ) { pFileParsePerformers->ParseFile(*iter); } - catch (X_AutodocParser &) + catch (const X_AutodocParser &) { /// Ignore and goon TheMessages().Out_ParseError(CurFile(), CurLine()); -- cgit