more catch by reference
Change-Id: I2db9f94a517f814ef0854190e6f1194501070409
This commit is contained in:
@@ -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&)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@@ -80,7 +80,7 @@ namespace svx
|
||||
if ( xProp.is() )
|
||||
xProp->getPropertyValue("IsForm") >>= bForm;
|
||||
}
|
||||
catch(Exception)
|
||||
catch(const Exception&)
|
||||
{}
|
||||
AddFormat(getDescriptorFormatId(bForm));
|
||||
}
|
||||
|
@@ -3765,7 +3765,7 @@ void XMLAnnotationImportContext::EndElement()
|
||||
{
|
||||
GetImportHelper().InsertTextContent( xTextContent );
|
||||
}
|
||||
catch (lang::IllegalArgumentException)
|
||||
catch (const lang::IllegalArgumentException&)
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
|
Reference in New Issue
Block a user