Kaydet (Commit) bfbfdc95 authored tarafından Szymon Kłos's avatar Szymon Kłos

PlaceEditDialog: only one error after failed auth

Change-Id: I215de03282b3692ebfdc6a7a0e9fd02ecc04f722
üst 331c1633
......@@ -411,10 +411,6 @@ IMPL_LINK_NOARG( CmisDetailsContainer, RefreshReposHdl )
}
catch ( const Exception& )
{
ScopedVclPtrInstance< ErrorBox > pErrorBox( static_cast< vcl::Window* >( NULL ),
WB_OK,
"Auth failed!" );
pErrorBox->Execute( );
}
// Auto-select the first one
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment