diff options
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rw-r--r-- | uui/source/iahndl-authentication.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index fa7d63f56117..93a1ddca9dca 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -72,21 +72,21 @@ executeLoginDialog( bool bSavePassword = rInfo.GetCanRememberPassword(); bool bCanUseSysCreds = rInfo.GetCanUseSystemCredentials(); - sal_uInt16 nFlags = 0; + LoginFlags nFlags = LoginFlags::NONE; if (rInfo.GetPath().isEmpty()) - nFlags |= LF_NO_PATH; + nFlags |= LoginFlags::NoPath; if (rInfo.GetErrorText().isEmpty()) - nFlags |= LF_NO_ERRORTEXT; + nFlags |= LoginFlags::NoErrorText; if (!bAccount) - nFlags |= LF_NO_ACCOUNT; + nFlags |= LoginFlags::NoAccount; if (!(rInfo.GetFlags() & LOGINERROR_FLAG_MODIFY_USER_NAME)) - nFlags |= LF_USERNAME_READONLY; + nFlags |= LoginFlags::UsernameReadonly; if (!bSavePassword) - nFlags |= LF_NO_SAVEPASSWORD; + nFlags |= LoginFlags::NoSavePassword; if (!bCanUseSysCreds) - nFlags |= LF_NO_USESYSCREDS; + nFlags |= LoginFlags::NoUseSysCreds; ScopedVclPtrInstance< LoginDialog > xDialog(pParent, nFlags, rInfo.GetServer(), rRealm); if (!rInfo.GetErrorText().isEmpty()) |