View | Details | Raw Unified | Return to issue 120108
Collapse All | Expand All

(-)sc/source/ui/view/viewdata.cxx (+4 lines)
Lines 2816-2821 Link Here
2816
						uno::Sequence<beans::PropertyValue> aTabSettings;
2816
						uno::Sequence<beans::PropertyValue> aTabSettings;
2817
						if (aAny >>= aTabSettings)
2817
						if (aAny >>= aTabSettings)
2818
						{
2818
						{
2819
							// memory leak #i120108#
2820
							if (pTabData[nTab] != NULL)
2821
								delete pTabData[nTab];
2822
							
2819
							pTabData[nTab] = new ScViewDataTable;
2823
							pTabData[nTab] = new ScViewDataTable;
2820
                            bool bHasZoom = false;
2824
                            bool bHasZoom = false;
2821
                            pTabData[nTab]->ReadUserDataSequence(aTabSettings, *this, nTab, bHasZoom);
2825
                            pTabData[nTab]->ReadUserDataSequence(aTabSettings, *this, nTab, bHasZoom);

Return to issue 120108