diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-03-25 17:32:17 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-03-25 17:32:17 +0100 |
commit | 4804f9b778bcebda23637f3fd27b508d2d4a0331 (patch) | |
tree | b13d54b930f7e0a690120c7d69f63c5a99f6d4bd /lingucomponent/source/lingutil | |
parent | f61b017c94c6b3a94bdcebd9e2e0b22e572fb0cc (diff) |
more sensible SdrObject::Clone() and SdrObject::operator=()
Virtual operator=() is IMO pointless, and especially in a class hierarchy
like SdrObject it's pretty unlikely one could reasonably assign any
SdrObject-based object to any other one. Moreover, it was actually
only used in Clone(), which was almost never reimplemented, so the
more sensible choice is to have non-virtual operator= and virtual
Clone() always being reimplemented and using that.
This commit also fixes various smaller or bigger, er, interesting
details in the various operator= implementations.
Diffstat (limited to 'lingucomponent/source/lingutil')
0 files changed, 0 insertions, 0 deletions