diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-12-11 17:02:18 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-12-11 17:02:18 +0000 |
commit | 74ed4052f08512fcd050934ab13d60c0cb11aded (patch) | |
tree | 83f261ff87279dc9b7ed2e58e14e9e814a25b37b /sc/source/core/data/drawpage.cxx | |
parent | 1e7d2a028b49813193b1e4a25aa3157de65677ba (diff) |
#80788# dont create basic before it is needed
Diffstat (limited to 'sc/source/core/data/drawpage.cxx')
-rw-r--r-- | sc/source/core/data/drawpage.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/core/data/drawpage.cxx b/sc/source/core/data/drawpage.cxx index ced5107e7fd6..7a6947469257 100644 --- a/sc/source/core/data/drawpage.cxx +++ b/sc/source/core/data/drawpage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drawpage.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 18:44:06 $ + * last change: $Author: nn $ $Date: 2000-12-11 18:02:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -308,7 +308,8 @@ void __EXPORT ScDrawPage::RequestBasic() { ScDrawLayer* pLayer = (ScDrawLayer*)GetModel(); SfxObjectShell* pDocSh = pLayer->GetDocument()->GetDocumentShell(); - SetBasic(pDocSh->GetBasic()); + if (pDocSh) + SetBasic(pDocSh->GetBasic()); } |