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 /sfx2/source/view/printer.cxx | |
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 'sfx2/source/view/printer.cxx')
-rw-r--r-- | sfx2/source/view/printer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx index f37cc45672f3..ba4f4ebc3a31 100644 --- a/sfx2/source/view/printer.cxx +++ b/sfx2/source/view/printer.cxx @@ -215,7 +215,7 @@ SfxPrintOptionsDialog::SfxPrintOptionsDialog(Window *pParent, DBG_ASSERT( pPage, "CreatePrintOptions != SFX_VIEW_HAS_PRINTOPTIONS" ); if( pPage ) { - pPage->Reset( *pOptions ); + pPage->Reset( pOptions ); SetHelpId( pPage->GetHelpId() ); pPage->Show(); } @@ -241,7 +241,7 @@ short SfxPrintOptionsDialog::Execute() if ( nRet == RET_OK ) pPage->FillItemSet( pOptions ); else - pPage->Reset( *pOptions ); + pPage->Reset( pOptions ); return nRet; } |