summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-14 17:21:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-14 17:21:20 +0000
commit0b3766645d7d52d5c2022b1e8e4617eff06403c8 (patch)
tree75ebc8e0ab319b10851517e7974fabfb7f8ba5c9 /sd
parent7a71065b8715f09892ef643d6e75550782e116d4 (diff)
more catch by reference
Change-Id: I2db9f94a517f814ef0854190e6f1194501070409
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index 3cd301cc12dd..26210719b73b 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -979,12 +979,12 @@ uno::Reference<XAccessible> AccessibleDrawDocumentView::GetSelAccContextInTable(
}
}
}
- catch ( lang::IndexOutOfBoundsException )
+ catch (const lang::IndexOutOfBoundsException&)
{
uno::Reference<XAccessible> xEmpty;
return xEmpty;
}
- catch ( uno::RuntimeException )
+ catch (const uno::RuntimeException&)
{
uno::Reference<XAccessible> xEmpty;
return xEmpty;
@@ -1014,7 +1014,7 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void)
sNewName += OUString::number(nPageNumber);
}
}
- catch (beans::UnknownPropertyException&)
+ catch (const beans::UnknownPropertyException&)
{
}
}