summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio/gio_content.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/gio/gio_content.hxx')
-rw-r--r--ucb/source/ucp/gio/gio_content.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx
index 366eb721f0c7..d76de9d1e832 100644
--- a/ucb/source/ucp/gio/gio_content.hxx
+++ b/ucb/source/ucp/gio/gio_content.hxx
@@ -53,7 +53,7 @@ namespace gio
#define GIO_FILE_TYPE "application/vnd.sun.staroffice.gio-file"
#define GIO_FOLDER_TYPE "application/vnd.sun.staroffice.gio-folder"
-css::uno::Any convertToException(GError *pError,
+std::unique_ptr<css::uno::Exception> convertToException(GError *pError,
const css::uno::Reference< css::uno::XInterface >& rContext, bool bThrow=true);
/// @throws css::io::IOException
/// @throws css::uno::RuntimeException
@@ -73,8 +73,8 @@ private:
GError **ppError=nullptr);
bool isFolder(const css::uno::Reference< css::ucb::XCommandEnvironment >& xEnv);
- css::uno::Any mapGIOError( GError *error );
- css::uno::Any getBadArgExcept();
+ std::unique_ptr<css::uno::Exception> mapGIOError( GError *error );
+ css::lang::IllegalArgumentException getBadArgExcept();
css::uno::Reference< css::sdbc::XRow >
getPropertyValues(