summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-04-24 12:15:22 +0000
committerRüdiger Timm <rt@openoffice.org>2003-04-24 12:15:22 +0000
commite31ab1150d8b5e84ab79cf6f5b44f12d1d2661be (patch)
tree079badbe93fa9d078c3a19e034a8008ed182e612
parentb5fccbfdf969ef9a1365f0910d6a11161ca1c7d9 (diff)
INTEGRATION: CWS mav4 (1.79.2); FILE MERGED
2003/04/15 09:15:56 as 1.79.2.1: #108892# recognize non existing document if basic should be used
-rw-r--r--sfx2/source/appl/appuno.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx
index 62dd7cd0b64e..1caa866bb59e 100644
--- a/sfx2/source/appl/appuno.cxx
+++ b/sfx2/source/appl/appuno.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appuno.cxx,v $
*
- * $Revision: 1.82 $
+ * $Revision: 1.83 $
*
- * last change: $Author: rt $ $Date: 2003-04-17 16:37:45 $
+ * last change: $Author: rt $ $Date: 2003-04-24 13:15:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1566,7 +1566,8 @@ ErrCode SfxMacroLoader::loadMacro( const ::rtl::OUString& rURL, SfxObjectShell*
{
// current/actual document
pDoc = pCurrent;
- pBasMgr = pDoc->GetBasicManager();
+ if (pDoc)
+ pBasMgr = pDoc->GetBasicManager();
}
else
{