From 3615931a8faf27befa7c0df3e27b68dbd184bda6 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Fri, 30 Mar 2018 15:22:54 +0200 Subject: Fix SfxItemSet pretty printer after some uniqueptr conversions just whyyyyyyy are you people doing this, why do you gratuitously break things others rely upon for productivity?!?? I don't give a F about uniqueptrs, all I want is to be able to print this bloody SfxItemSet. It's frustrating AF Change-Id: I0b6110c1806c31a3c098fb9dc73883047191c7f9 Reviewed-on: https://gerrit.libreoffice.org/52362 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- solenv/gdb/libreoffice/svl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solenv') diff --git a/solenv/gdb/libreoffice/svl.py b/solenv/gdb/libreoffice/svl.py index 05049652c434..99a0fad70092 100644 --- a/solenv/gdb/libreoffice/svl.py +++ b/solenv/gdb/libreoffice/svl.py @@ -40,7 +40,7 @@ class ItemSetPrinter(object): for (whichfrom, whichto) in whichranges: size += whichto - whichfrom + 1 whichids += [which for which in range(whichfrom, whichto+1)] - return self._iterator(self.value['m_pItems'], size, whichids) + return self._iterator(self.value['m_pItems']['_M_t']['_M_t']['_M_head_impl'], size, whichids) class _iterator(six.Iterator): -- cgit