From 43afab8818d7bca24897ddee9b74fbeb74bf4c56 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 16 Jun 2011 00:26:29 +0100 Subject: catch by const reference --- xmloff/source/style/styleexp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source/style/styleexp.cxx') diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 81b8dd3409e4..4c6375004063 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -422,7 +422,7 @@ void XMLStyleExport::exportStyleFamily( { xStyles->getByName( *pIter ) >>= xStyle; } - catch( lang::IndexOutOfBoundsException ) + catch(const lang::IndexOutOfBoundsException&) { // due to bugs in prior versions it is possible that // a binary file is missing some critical styles. -- cgit v1.2.3