diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/ucbhelper/xtempfile.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx index 0bd03b6b052f..fe47394d96fa 100644 --- a/unotools/source/ucbhelper/xtempfile.cxx +++ b/unotools/source/ucbhelper/xtempfile.cxx @@ -65,7 +65,7 @@ sal_Bool SAL_CALL OTempFileService::getRemoveFile() if ( !mpTempFile ) { // the stream is already disconnected - throw css::uno::RuntimeException(); + throw css::uno::RuntimeException("Not connected to a file."); } return mbRemoveFile; @@ -77,7 +77,7 @@ void SAL_CALL OTempFileService::setRemoveFile( sal_Bool _removefile ) if ( !mpTempFile ) { // the stream is already disconnected - throw css::uno::RuntimeException(); + throw css::uno::RuntimeException("Not connected to a file."); } mbRemoveFile = _removefile; @@ -89,7 +89,7 @@ OUString SAL_CALL OTempFileService::getUri() if ( !mpTempFile ) { - throw css::uno::RuntimeException(); + throw css::uno::RuntimeException("Not connected to a file."); } return mpTempFile->GetURL(); @@ -101,7 +101,7 @@ OUString SAL_CALL OTempFileService::getResourceName() if ( !mpTempFile ) { - throw css::uno::RuntimeException(); + throw css::uno::RuntimeException("Not connected to a file."); } return mpTempFile->GetFileName(); |