diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-11 10:35:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-11 10:39:03 +0200 |
commit | a92e973b6d0a9ad87fe014442e1678af2ce0c7d0 (patch) | |
tree | b39139c7992a853cc5e4d836fc35cd45c01a3f6d /chart2/source/controller/dialogs/tp_Trendline.cxx | |
parent | fdo#79817:Fix for corruption having databinding have duplicates attributes (diff) | |
download | core-a92e973b6d0a9ad87fe014442e1678af2ce0c7d0.tar.gz core-a92e973b6d0a9ad87fe014442e1678af2ce0c7d0.zip |
Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)
Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
Diffstat (limited to 'chart2/source/controller/dialogs/tp_Trendline.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_Trendline.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_Trendline.cxx b/chart2/source/controller/dialogs/tp_Trendline.cxx index b95acf9a14ea..d3753307c2ef 100644 --- a/chart2/source/controller/dialogs/tp_Trendline.cxx +++ b/chart2/source/controller/dialogs/tp_Trendline.cxx @@ -46,9 +46,9 @@ bool TrendlineTabPage::FillItemSet( SfxItemSet* rOutAttrs ) return m_aTrendlineResources.FillItemSet( rOutAttrs ); } -void TrendlineTabPage::Reset( const SfxItemSet& rInAttrs ) +void TrendlineTabPage::Reset( const SfxItemSet* rInAttrs ) { - m_aTrendlineResources.Reset( rInAttrs ); + m_aTrendlineResources.Reset( *rInAttrs ); } void TrendlineTabPage::DataChanged( const DataChangedEvent& rDCEvt ) |