diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2001-06-27 07:21:24 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2001-06-27 07:21:24 +0000 |
commit | 8766dfd080362f87a130a019630066192270dc60 (patch) | |
tree | eef376476d7c1ec2abe794ddadce16a8d8559cb0 | |
parent | 803d1811198b1c4049ea5005cdbd501ad130e5e1 (diff) |
#88753# - Fixed ContentProvider::queryContent to survive null identifiers.
-rw-r--r-- | ucb/source/ucp/package/pkgprovider.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx index 3fcff19c3b35..da6f0c100411 100644 --- a/ucb/source/ucp/package/pkgprovider.cxx +++ b/ucb/source/ucp/package/pkgprovider.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pkgprovider.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: kso $ $Date: 2001-06-25 09:11:47 $ + * last change: $Author: kso $ $Date: 2001-06-27 08:21:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -258,6 +258,9 @@ uno::Reference< star::ucb::XContent > SAL_CALL ContentProvider::queryContent( { vos::OGuard aGuard( m_aMutex ); + if ( !Identifier.is() ) + return uno::Reference< star::ucb::XContent >(); + // Check URL scheme... rtl::OUString aScheme( |