Issue 80722 - no assignment operator for TxtNodeNumberingAttrs and used with std::vector
Summary: no assignment operator for TxtNodeNumberingAttrs and used with std::vector
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: current
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oliver.bolte
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 08:43 UTC by caolanm
Modified: 2013-08-07 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch (756 bytes, text/plain)
2007-08-16 08:43 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2007-08-16 08:43:29 UTC
TxtNodeNumberingAttrs in sw/source/core/undo/unattr.cxx is used in a stl vector
with push_back. Things shoved into vectors should have an assignment operator,
the automatically created one is good enough in this case, but it cannot be
generated because all the members are const. 

This only leads to breakage for me with system stl, not stlport, probably
because of some optimization stuff in stlport, but it's probably best to either
have an assignment operator, or to make the members nonconst as a quick fix.
Comment 1 caolanm 2007-08-16 08:43:52 UTC
Created attachment 47564 [details]
patch
Comment 2 Oliver-Rainer Wittmann 2007-08-17 09:43:08 UTC
OD->CMC: Thx for the patch.

I've talk to OBO - he will apply your patch in the next master builds for OOG680
and SRC680 codelines.
Comment 3 oliver.bolte 2007-08-17 09:48:03 UTC
fixed as master fix on MWS SRC680 m226, OOG680 m2
Comment 4 oliver.bolte 2007-09-07 08:23:53 UTC
.
Comment 5 oliver.bolte 2007-09-07 08:24:32 UTC
.