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 /sw/source/ui/index | |
parent | 88f84eb1b0eebbb7e0a072f1e7001a9207ebbe9e (diff) |
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 'sw/source/ui/index')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 74f167cc8b90..c93ffe92e1fc 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -1192,7 +1192,7 @@ void SwTOXSelectTabPage::FillTOXDescription() rDesc.SetSortAlgorithm(*pEntryData); } -void SwTOXSelectTabPage::Reset( const SfxItemSet& ) +void SwTOXSelectTabPage::Reset( const SfxItemSet* ) { SwMultiTOXTabDialog* pTOXDlg = (SwMultiTOXTabDialog*)GetTabDialog(); SwWrtShell& rSh = pTOXDlg->GetWrtShell(); @@ -1900,7 +1900,7 @@ bool SwTOXEntryTabPage::FillItemSet( SfxItemSet* ) return true; } -void SwTOXEntryTabPage::Reset( const SfxItemSet& ) +void SwTOXEntryTabPage::Reset( const SfxItemSet* ) { SwMultiTOXTabDialog* pTOXDlg = (SwMultiTOXTabDialog*)GetTabDialog(); const CurTOXType aCurType = pTOXDlg->GetCurrentTOXType(); @@ -3517,9 +3517,9 @@ bool SwTOXStylesTabPage::FillItemSet( SfxItemSet* ) return true; } -void SwTOXStylesTabPage::Reset( const SfxItemSet& rSet ) +void SwTOXStylesTabPage::Reset( const SfxItemSet* rSet ) { - ActivatePage(rSet); + ActivatePage(*rSet); } void SwTOXStylesTabPage::ActivatePage( const SfxItemSet& ) |