To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93212
Issue #|93212
Summary|Avoid slicing during construction of SdrPage
Component|Drawing
Version|OOO300m3
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|af
Reported by|af
------- Additional comments from [EMAIL PROTECTED] Thu Aug 28 13:50:04 +0000
2008 -------
The SdrPage copy constructor contains the line
*this = rSrcPage;
Like in issue 93186 this leads to slicing and to subtle errors.
The copy constructor SdrObjList also contains an assignment to *this.
Avoid assignment to *this.
One way to do this is the use of a proper Clone() method.
For details on the general problem see for instance item 54. Avoid slicing... in
C++ Coding Standards by Sutter and Alexandrescu.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]