summaryrefslogtreecommitdiff
path: root/xmloff/source/style/styleexp.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-16 00:26:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-16 09:15:37 +0100
commit43afab8818d7bca24897ddee9b74fbeb74bf4c56 (patch)
tree97b161e5cc5dbe12129681365dc2c6f2ed745926 /xmloff/source/style/styleexp.cxx
parent9e98f12db714b8a1a8cc64234bb4eea26e936166 (diff)
catch by const reference
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r--xmloff/source/style/styleexp.cxx2
1 files changed, 1 insertions, 1 deletions
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.