diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2010-05-26 15:20:34 +0200 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2010-05-26 15:20:34 +0200 |
commit | d806a700d8a3145225d224f6d83295772a95bbd9 (patch) | |
tree | 1826d4424ef381a360c2968dabaf71ae028ea79c /package | |
parent | bfafc3a17eb47e87565aaa60cb1c4ba513177ba4 (diff) |
fwk139: #i110803# integrate patch
Diffstat (limited to 'package')
-rw-r--r-- | package/source/xstor/xfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index e78742641a0b..ab3c682d6d35 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -257,7 +257,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr } else if ( xStream.is() ) { - if ( ( nStorageMode & embed::ElementModes::WRITE ) && !xStream->getOutputStream().is() + if ( ( ( nStorageMode & embed::ElementModes::WRITE ) && !xStream->getOutputStream().is() ) || !xStream->getInputStream().is() ) throw uno::Exception(); // TODO: access denied |