diff options
author | Bayram Çiçek <mail@bayramcicek.com.tr> | 2021-01-10 21:47:43 +0000 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-01-12 19:24:51 +0100 |
commit | 32676270d194b68d7dd811511feb0903876b5c06 (patch) | |
tree | bca2290ed287c583e3390e71d39c5b73df584969 /xmloff | |
parent | 694f4e560c8a710e69268845575bbecfb5e23f76 (diff) |
tdf#42982: Improve UNO API error reporting
Change-Id: I78c6fed4e94f1ebfc772db4dec9955da7230bc3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109071
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/meta/xmlversion.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx index 7776ea876427..1276e0e6fcdf 100644 --- a/xmloff/source/meta/xmlversion.cxx +++ b/xmloff/source/meta/xmlversion.cxx @@ -325,7 +325,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt Reference< io::XOutputStream > xOut = xVerStream->getOutputStream(); if ( !xOut.is() ) - throw uno::RuntimeException(); // the stream was successfully opened for writing already + throw uno::RuntimeException("The stream was successfully opened for writing already!"); xWriter->setOutputStream(xOut); |