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

Remember password after setting new service

Change-Id: I14ba319307f74b24fa474e742504b70c46539a08
üst 3ff764c9
...@@ -697,8 +697,10 @@ void RemoteFilesDialog::SavePassword( const OUString& rURL, const OUString& rUse ...@@ -697,8 +697,10 @@ void RemoteFilesDialog::SavePassword( const OUString& rURL, const OUString& rUse
try try
{ {
if( m_xMasterPasswd->isPersistentStoringAllowed() && if( !bPersistent ||
( !bPersistent || m_xMasterPasswd->authorizateWithMasterPassword( Reference< XInteractionHandler>() ) ) ) ( m_xMasterPasswd->isPersistentStoringAllowed()
&& m_xMasterPasswd->authorizateWithMasterPassword( Reference< XInteractionHandler>() ) )
)
{ {
Reference< XInteractionHandler > xInteractionHandler( Reference< XInteractionHandler > xInteractionHandler(
InteractionHandler::createWithParent( m_xContext, 0 ), InteractionHandler::createWithParent( m_xContext, 0 ),
......
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