summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-authentication.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-25 13:46:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-25 13:47:32 +0200
commitf32a75c25b0450eba9cdd9b343e1263c600c0151 (patch)
tree3cfbb6df2a023e5ff996b43309595aba7c51d030 /uui/source/iahndl-authentication.cxx
parent413e63c301a4a9ca8a4a85d03549fbe240142148 (diff)
convert LF constants to o3tl::typed_flags
Change-Id: I4fa3a62e53eb02fe60c9ca0675709b76e56a7912
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rw-r--r--uui/source/iahndl-authentication.cxx14
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())