tdf#118117 sc pivottable: STR_PIVOT_DATA is an existing name too
commit268bddd26cc006a7b4a1f9142245aecbff51c173
authorJustin Luth <justin_luth@sil.org>
Tue, 1 Mar 2022 06:54:25 +0000 (1 08:54 +0200)
committerXisco Fauli <xiscofauli@libreoffice.org>
Thu, 3 Mar 2022 16:16:24 +0000 (3 17:16 +0100)
tree3bf949701e32021c6f5756abd3ca3524b38c0b38
parentc838925bb414f94a63abc0fa0073c5cd71a7972d
tdf#118117 sc pivottable: STR_PIVOT_DATA is an existing name too

This fixes a LO 6.0 regression from
commit a078328e91ab9cbd78a92608c1abdc2c57ff9ac5

I looked for existing unit test examples using
assert (rLabel != ScResId(STR_PIVOT_DATA));
but found nothing.

I don't see the need for a unit test here.
The whole pivot table is messed up if you duplicate
a label, so why bother testing. It just is not
as bad now as it was before.

Change-Id: I59cc73becf91f766a29d2007c2d67685ffa2a65c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130751
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
(cherry picked from commit b7f654a406b704f469d1df424d83a3d98ae46432)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130784
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
sc/source/core/data/dpcache.cxx