diff options
Diffstat (limited to 'sc/source/ui/optdlg/tpview.cxx')
-rw-r--r-- | sc/source/ui/optdlg/tpview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index 9c74b954f0d9..9d8a16370b5c 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -419,7 +419,7 @@ SfxTabPage* ScTpLayoutOptions::Create( Window* pParent, ScDocShell* pDocSh = PTR_CAST(ScDocShell,SfxObjectShell::Current()); if(pDocSh!=NULL) - pNew->SetDocument(pDocSh->GetDocument()); + pNew->SetDocument(&pDocSh->GetDocument()); return pNew; } |