Kaydet (Commit) 1e1a14ba authored tarafından Caolán McNamara's avatar Caolán McNamara

catch exceptions by const reference

üst 0325f344
......@@ -245,17 +245,17 @@ SdPage* DocumentHelper::AddMasterPage (
// master page.
rTargetDocument.InsertMasterPage (pClonedMasterPage);
}
catch (uno::Exception& rException)
catch(const uno::Exception&)
{
pClonedMasterPage = NULL;
DBG_UNHANDLED_EXCEPTION();
}
catch (::std::exception rException)
catch(const ::std::exception&)
{
pClonedMasterPage = NULL;
OSL_TRACE ("caught general exception");
}
catch (...)
catch(...)
{
pClonedMasterPage = NULL;
OSL_TRACE ("caught general exception");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment