summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorBayram Çiçek <mail@bayramcicek.com.tr>2021-01-10 21:47:43 +0000
committerMichael Stahl <michael.stahl@allotropia.de>2021-01-12 19:24:51 +0100
commit32676270d194b68d7dd811511feb0903876b5c06 (patch)
treebca2290ed287c583e3390e71d39c5b73df584969 /svl/source
parent694f4e560c8a710e69268845575bbecfb5e23f76 (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 'svl/source')
-rw-r--r--svl/source/fsstor/fsfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx
index 91fe8d35f983..455e1b6ce590 100644
--- a/svl/source/fsstor/fsfactory.cxx
+++ b/svl/source/fsstor/fsfactory.cxx
@@ -40,7 +40,7 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstance()
OUString aTempURL = ::utl::TempFile( nullptr, true ).GetURL();
if ( aTempURL.isEmpty() )
- throw uno::RuntimeException(); // TODO: can not create tempfile
+ throw uno::RuntimeException("Cannot create tempfile.");
::ucbhelper::Content aResultContent(
aTempURL, uno::Reference< ucb::XCommandEnvironment >(),