diff options
Diffstat (limited to 'sd/source/ui/dlg/RemoteDialog.cxx')
-rw-r--r-- | sd/source/ui/dlg/RemoteDialog.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx index 0df0f7070547..d920d91c0527 100644 --- a/sd/source/ui/dlg/RemoteDialog.cxx +++ b/sd/source/ui/dlg/RemoteDialog.cxx @@ -50,9 +50,12 @@ IMPL_LINK_NOARG(RemoteDialog, HandleConnectButton) if ( aSelected < 0 ) return 1; TClientBoxEntry aEntry = mClientBox.GetEntryData(aSelected); - OUString aPin = mClientBox.getPin(); + OUString aPin ( mClientBox.getPin() ); if ( RemoteServer::connectClient( aEntry->m_pClientInfo, aPin ) ) + { + Close(); return 0; + } else return 1; } |