diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-07-10 15:31:48 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-16 09:53:45 +0200 |
commit | bfbfdc95c68a6ba985daa174b8c30c28c89f9853 (patch) | |
tree | fbcf156d7573e1ffbdb5215d640a330afe5d194b /ucb | |
parent | 331c1633b49f6c2110fb249709c9430a4f2efd89 (diff) |
PlaceEditDialog: only one error after failed auth
Change-Id: I215de03282b3692ebfdc6a7a0e9fd02ecc04f722
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 5128b701d079..82ca6b30c619 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -202,7 +202,11 @@ namespace cmis catch (const libcmis::Exception& e) { SAL_INFO( "ucb.ucp.cmis", "Error getting repositories: " << e.what() ); - throw uno::Exception( ); + ucbhelper::cancelCommandExecution( + ucb::IOErrorCode_INVALID_DEVICE, + uno::Sequence< uno::Any >( 0 ), + xEnv, + OUString( ) ); } } else |