summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-08-22 10:26:43 +0000
committerMathias Bauer <mba@openoffice.org>2001-08-22 10:26:43 +0000
commit2cd7bdf411f062abbbe5dd2d0cb1478db9362de7 (patch)
treec91cb614bc54c8a0dd43770ada7c3953f26dc903
parent90050f939908cc2bad406197c0223f1cb5857ee8 (diff)
#91381#: return NULL on Error in GetStorage_Impl
-rw-r--r--sfx2/source/doc/docfile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index a3ba1fea5824..0ae086a48500 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docfile.cxx,v $
*
- * $Revision: 1.72 $
+ * $Revision: 1.73 $
*
- * last change: $Author: mba $ $Date: 2001-08-21 10:52:47 $
+ * last change: $Author: mba $ $Date: 2001-08-22 11:26:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1142,7 +1142,7 @@ SvStorage* SfxMedium::GetStorage_Impl( BOOL bUCBStorage )
}
if( GetError() != SVSTREAM_OK )
- return aStorage;
+ return NULL;
bTriedStorage = sal_True;