[Libreoffice-commits] core.git: basic/source
ViKrAm-Bais (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 8 10:08:49 UTC 2021
basic/source/uno/namecont.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 394ad7fa73ec70e576a4b0bdfaa7cc2986e1bf46
Author: ViKrAm-Bais <vikrambais02 at gmail.com>
AuthorDate: Mon Mar 8 09:51:02 2021 +0530
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Mon Mar 8 11:08:06 2021 +0100
tdf#42982: improve UNO API error reporting
Change-Id: I20080d81e0b08e6e0dcd421bd75cb7d796e97ea7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112149
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 28bdab04a298..d42b701a5405 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2327,7 +2327,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
" storage!"));
if ( !xLibrariesStor.is() )
{
- throw uno::RuntimeException("null returned from openStorageElement");
+ throw uno::RuntimeException("null returned from openStorageElement",static_cast< cppu::OWeakObject * >(this));
}
xLibraryStor = xLibrariesStor->openStorageElement( Name, embed::ElementModes::READ );
@@ -2337,7 +2337,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
" storage!"));
if ( !xLibrariesStor.is() )
{
- throw uno::RuntimeException("null returned from openStorageElement");
+ throw uno::RuntimeException("null returned from openStorageElement",static_cast< cppu::OWeakObject * >(this));
}
#if OSL_DEBUG_LEVEL > 0
}
More information about the Libreoffice-commits
mailing list