diff options
Diffstat (limited to 'desktop/source/deployment/registry/script/dp_lib_container.cxx')
-rw-r--r-- | desktop/source/deployment/registry/script/dp_lib_container.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/script/dp_lib_container.cxx b/desktop/source/deployment/registry/script/dp_lib_container.cxx index 1fc4c3d211bc..4dc71b7fd9e3 100644 --- a/desktop/source/deployment/registry/script/dp_lib_container.cxx +++ b/desktop/source/deployment/registry/script/dp_lib_container.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -60,7 +60,7 @@ OUString LibraryContainer::get_libname( ::xmlscript::LibDescriptor import; ::ucbhelper::Content ucb_content( url, xCmdEnv ); xml_parse( ::xmlscript::importLibrary( import ), ucb_content, xContext ); - + if (import.aName.getLength() == 0) { throw Exception( StrCannotDetermineLibName::get(), Reference<XInterface>() ); |