Lines 1641-1647
void SwChartDataProvider::InvalidateTabl
Link Here
|
1641 |
Set_DataSequenceRef_t::iterator aIt( rSet.begin() ); |
1641 |
Set_DataSequenceRef_t::iterator aIt( rSet.begin() ); |
1642 |
while (aIt != rSet.end()) |
1642 |
while (aIt != rSet.end()) |
1643 |
{ |
1643 |
{ |
1644 |
uno::Reference< util::XModifiable > xRef( uno::Reference< chart2::data::XDataSequence >(*aIt), uno::UNO_QUERY ); |
1644 |
uno::Reference< chart2::data::XDataSequence > xTemp(*aIt); // temporary needed for g++ 3.3.5 |
|
|
1645 |
uno::Reference< util::XModifiable > xRef( xTemp, uno::UNO_QUERY ); |
1645 |
if (xRef.is()) |
1646 |
if (xRef.is()) |
1646 |
{ |
1647 |
{ |
1647 |
// mark the sequence as 'dirty' and notify listeners |
1648 |
// mark the sequence as 'dirty' and notify listeners |
Lines 1674-1680
sal_Bool SwChartDataProvider::DeleteBox(
Link Here
|
1674 |
sal_Bool bNowEmpty = sal_False; |
1675 |
sal_Bool bNowEmpty = sal_False; |
1675 |
|
1676 |
|
1676 |
// check if weak reference is still valid... |
1677 |
// check if weak reference is still valid... |
1677 |
uno::Reference< chart2::data::XDataSequence > xRef( uno::Reference< chart2::data::XDataSequence>(*aIt), uno::UNO_QUERY ); |
1678 |
uno::Reference< chart2::data::XDataSequence > xTemp(*aIt); // temporary needed for g++ 3.3.5 |
|
|
1679 |
uno::Reference< chart2::data::XDataSequence > xRef( xTemp, uno::UNO_QUERY ); |
1678 |
if (xRef.is()) |
1680 |
if (xRef.is()) |
1679 |
{ |
1681 |
{ |
1680 |
// then delete that table box (check if implementation cursor needs to be adjusted) |
1682 |
// then delete that table box (check if implementation cursor needs to be adjusted) |
Lines 1716-1722
void SwChartDataProvider::DisposeAllData
Link Here
|
1716 |
Set_DataSequenceRef_t::iterator aEndIt( rSet.end() ); |
1718 |
Set_DataSequenceRef_t::iterator aEndIt( rSet.end() ); |
1717 |
while (aIt != aEndIt) |
1719 |
while (aIt != aEndIt) |
1718 |
{ |
1720 |
{ |
1719 |
uno::Reference< lang::XComponent > xRef( uno::Reference< chart2::data::XDataSequence >(*aIt), uno::UNO_QUERY ); |
1721 |
uno::Reference< chart2::data::XDataSequence > xTemp(*aIt); // temporary needed for g++ 3.3.5 |
|
|
1722 |
uno::Reference< lang::XComponent > xRef( xTemp, uno::UNO_QUERY ); |
1720 |
if (xRef.is()) |
1723 |
if (xRef.is()) |
1721 |
{ |
1724 |
{ |
1722 |
xRef->dispose(); |
1725 |
xRef->dispose(); |
Lines 1793-1799
void SwChartDataProvider::AddRowCols(
Link Here
|
1793 |
Set_DataSequenceRef_t::iterator aIt( rSet.begin() ); |
1796 |
Set_DataSequenceRef_t::iterator aIt( rSet.begin() ); |
1794 |
while (aIt != rSet.end()) |
1797 |
while (aIt != rSet.end()) |
1795 |
{ |
1798 |
{ |
1796 |
uno::Reference< chart2::data::XTextualDataSequence > xRef( uno::Reference< chart2::data::XDataSequence >(*aIt), uno::UNO_QUERY ); |
1799 |
uno::Reference< chart2::data::XDataSequence > xTemp(*aIt); // temporary needed for g++ 3.3.5 |
|
|
1800 |
uno::Reference< chart2::data::XTextualDataSequence > xRef( xTemp, uno::UNO_QUERY ); |
1797 |
if (xRef.is()) |
1801 |
if (xRef.is()) |
1798 |
{ |
1802 |
{ |
1799 |
const sal_Int32 nLen = xRef->getTextualData().getLength(); |
1803 |
const sal_Int32 nLen = xRef->getTextualData().getLength(); |