diff options
author | Eike Rathke <erack@redhat.com> | 2017-07-27 16:58:59 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-07-27 17:48:59 +0200 |
commit | 238de04de6c8b67f74c75514b86c08bf888feb48 (patch) | |
tree | 520fba3d64eca15c97ec04fd1d3a510348bd629d /testtools | |
parent | 221dae68df80298e81e6e6549636f3528f5c8bc3 (diff) |
Ditch use of EditTextObject::Store() in ScGlobal::EETextObjEqual()
This was the last incarnation of SfxItem binary stream serialization that is to
be eliminated after clipboard use is gone.
The "full" EditTextObject::operator==() in EditTextObjectImpl::operator==(),
and via ContentInfo::operator==() in SfxItemSet::operator==(), also compare the
SfxItemPool pointers which gets in the way here (not stored to stream hence
didn't matter and maybe the reason for not having switched EETextObjEqual() to
use operator==() back in the days).
Introduce *::Equals() functions that do not compare pool pointers and let
SfxItemSet::Equals() in that case not assume it would be operating on one pool
only.
Change-Id: Ifff939a92101c7f74695b676a45a7fdbb4f1d7f6
Reviewed-on: https://gerrit.libreoffice.org/40492
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'testtools')
0 files changed, 0 insertions, 0 deletions