Issue 122768

Summary: Catch C++ exceptions by const reference
Product: General Reporter: hdu <hdu>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues
Version: 3.4.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 122766, 125105    

Description 2013-07-17 08:56:00 UTC
Catching C++ exceptions by const reference is considered best practice as it avoids "slicing" of derived exceptions. It also avoids unnecessary copy construction of the exception object.