Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
0376c6dc
Kaydet (Commit)
0376c6dc
authored
Nis 30, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
uui: sal_Bool->bool
Change-Id: Iba9f7586e7742135a3377826c7ab0c83beb30fa5
üst
5371642e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
38 deletions
+38
-38
alreadyopen.cxx
uui/source/alreadyopen.cxx
+1
-1
alreadyopen.hxx
uui/source/alreadyopen.hxx
+1
-1
iahndl-authentication.cxx
uui/source/iahndl-authentication.cxx
+2
-2
iahndl-ioexceptions.cxx
uui/source/iahndl-ioexceptions.cxx
+1
-1
iahndl-ssl.cxx
uui/source/iahndl-ssl.cxx
+5
-5
iahndl.cxx
uui/source/iahndl.cxx
+1
-1
logindlg.cxx
uui/source/logindlg.cxx
+2
-2
logindlg.hxx
uui/source/logindlg.hxx
+5
-5
loginerr.hxx
uui/source/loginerr.hxx
+19
-19
passwordcontainer.cxx
uui/source/passwordcontainer.cxx
+1
-1
No files found.
uui/source/alreadyopen.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -20,7 +20,7 @@
#include "ids.hrc"
#include "alreadyopen.hxx"
AlreadyOpenQueryBox
::
AlreadyOpenQueryBox
(
Window
*
pParent
,
ResMgr
*
pResMgr
,
const
OUString
&
aMessage
,
sal_B
ool
bIsStoring
)
:
AlreadyOpenQueryBox
::
AlreadyOpenQueryBox
(
Window
*
pParent
,
ResMgr
*
pResMgr
,
const
OUString
&
aMessage
,
b
ool
bIsStoring
)
:
MessBox
(
pParent
,
0
,
ResId
(
STR_ALREADYOPEN_TITLE
,
*
pResMgr
).
toString
(),
aMessage
)
...
...
uui/source/alreadyopen.hxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -24,7 +24,7 @@
class
AlreadyOpenQueryBox
:
public
MessBox
{
public
:
AlreadyOpenQueryBox
(
Window
*
pParent
,
ResMgr
*
pResMgr
,
const
OUString
&
aMessage
,
sal_B
ool
bIsStoring
);
AlreadyOpenQueryBox
(
Window
*
pParent
,
ResMgr
*
pResMgr
,
const
OUString
&
aMessage
,
b
ool
bIsStoring
);
virtual
~
AlreadyOpenQueryBox
();
};
...
...
uui/source/iahndl-authentication.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -233,7 +233,7 @@ handleAuthenticationRequest_(
eAlternateRememberMode
);
}
sal_B
ool
bCanUseSystemCredentials
;
b
ool
bCanUseSystemCredentials
;
sal_Bool
bDefaultUseSystemCredentials
;
if
(
xSupplyAuthentication2
.
is
())
{
...
...
@@ -243,7 +243,7 @@ handleAuthenticationRequest_(
}
else
{
bCanUseSystemCredentials
=
sal_F
alse
;
bCanUseSystemCredentials
=
f
alse
;
bDefaultUseSystemCredentials
=
sal_False
;
}
...
...
uui/source/iahndl-ioexceptions.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -63,7 +63,7 @@ getBoolRequestArgument(uno::Sequence< uno::Any > const & rArguments,
beans
::
PropertyValue
aProperty
;
if
((
rArguments
[
i
]
>>=
aProperty
)
&&
aProperty
.
Name
==
rKey
)
{
sal_Bool
bValue
=
sal_Bool
()
;
bool
bValue
;
if
(
aProperty
.
Value
>>=
bValue
)
{
if
(
pValue
)
...
...
uui/source/iahndl-ssl.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -135,7 +135,7 @@ getLocalizedDatTimeStr(
return
aDateTimeStr
;
}
sal_B
ool
b
ool
executeUnknownAuthDialog
(
Window
*
pParent
,
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
xContext
,
...
...
@@ -168,7 +168,7 @@ executeUnknownAuthDialog(
}
}
return
static_cast
<
sal_Bool
>
(
xDialog
->
Execute
());
return
static_cast
<
bool
>
(
xDialog
->
Execute
());
}
catch
(
std
::
bad_alloc
const
&
)
{
...
...
@@ -178,7 +178,7 @@ executeUnknownAuthDialog(
}
}
sal_B
ool
b
ool
executeSSLWarnDialog
(
Window
*
pParent
,
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
xContext
,
...
...
@@ -240,7 +240,7 @@ executeSSLWarnDialog(
xDialog
->
SetText
(
aTitle
);
}
return
static_cast
<
sal_Bool
>
(
xDialog
->
Execute
());
return
static_cast
<
bool
>
(
xDialog
->
Execute
());
}
catch
(
std
::
bad_alloc
const
&
)
{
...
...
@@ -264,7 +264,7 @@ handleCertificateValidationRequest_(
getContinuations
(
rContinuations
,
&
xApprove
,
&
xAbort
);
sal_Int32
failures
=
rRequest
.
CertificateValidity
;
sal_Bool
trustCert
=
sal_T
rue
;
bool
trustCert
=
t
rue
;
if
(
((
failures
&
security
::
CertificateValidity
::
UNTRUSTED
)
==
security
::
CertificateValidity
::
UNTRUSTED
)
||
...
...
uui/source/iahndl.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -1206,7 +1206,7 @@ UUIInteractionHelper::handleGenericErrorRequest(
// required unsigned long value. Otherwhise using as flag field
// can fail ...
ErrCode
nError
=
static_cast
<
ErrCode
>
(
nErrorCode
);
sal_B
ool
bWarning
=
!
ERRCODE_TOERROR
(
nError
);
b
ool
bWarning
=
!
ERRCODE_TOERROR
(
nError
);
if
(
nError
==
ERRCODE_SFX_BROKENSIGNATURE
||
nError
==
ERRCODE_SFX_INCOMPLETE_ENCRYPTION
)
...
...
uui/source/logindlg.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -87,7 +87,7 @@ void LoginDialog::HideControls_Impl( sal_uInt16 nFlags )
}
}
void
LoginDialog
::
EnableUseSysCredsControls_Impl
(
sal_B
ool
bUseSysCredsEnabled
)
void
LoginDialog
::
EnableUseSysCredsControls_Impl
(
b
ool
bUseSysCredsEnabled
)
{
m_pErrorInfo
->
Enable
(
!
bUseSysCredsEnabled
);
m_pErrorFT
->
Enable
(
!
bUseSysCredsEnabled
);
...
...
@@ -187,7 +187,7 @@ LoginDialog::LoginDialog(Window* pParent, sal_uInt16 nFlags,
HideControls_Impl
(
nFlags
);
}
void
LoginDialog
::
SetUseSystemCredentials
(
sal_B
ool
bUse
)
void
LoginDialog
::
SetUseSystemCredentials
(
b
ool
bUse
)
{
if
(
m_pUseSysCredsCB
->
IsVisible
()
)
{
...
...
uui/source/logindlg.hxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -60,7 +60,7 @@ class LoginDialog : public ModalDialog
OKButton
*
m_pOKBtn
;
void
HideControls_Impl
(
sal_uInt16
nFlags
);
void
EnableUseSysCredsControls_Impl
(
sal_B
ool
bUseSysCredsEnabled
);
void
EnableUseSysCredsControls_Impl
(
b
ool
bUseSysCredsEnabled
);
DECL_LINK
(
OKHdl_Impl
,
void
*
);
DECL_LINK
(
PathHdl_Impl
,
void
*
);
...
...
@@ -78,11 +78,11 @@ public:
void
SetPassword
(
const
OUString
&
rNew
)
{
m_pPasswordED
->
SetText
(
rNew
);
}
OUString
GetAccount
()
const
{
return
m_pAccountED
->
GetText
();
}
void
SetAccount
(
const
OUString
&
rNew
)
{
m_pAccountED
->
SetText
(
rNew
);
}
sal_B
ool
IsSavePassword
()
const
{
return
m_pSavePasswdBtn
->
IsChecked
();
}
void
SetSavePassword
(
sal_B
ool
bSave
)
{
m_pSavePasswdBtn
->
Check
(
bSave
);
}
b
ool
IsSavePassword
()
const
{
return
m_pSavePasswdBtn
->
IsChecked
();
}
void
SetSavePassword
(
b
ool
bSave
)
{
m_pSavePasswdBtn
->
Check
(
bSave
);
}
void
SetSavePasswordText
(
const
OUString
&
rTxt
)
{
m_pSavePasswdBtn
->
SetText
(
rTxt
);
}
sal_B
ool
IsUseSystemCredentials
()
const
{
return
m_pUseSysCredsCB
->
IsChecked
();
}
void
SetUseSystemCredentials
(
sal_B
ool
bUse
);
b
ool
IsUseSystemCredentials
()
const
{
return
m_pUseSysCredsCB
->
IsChecked
();
}
void
SetUseSystemCredentials
(
b
ool
bUse
);
void
SetErrorText
(
const
OUString
&
rTxt
)
{
m_pErrorInfo
->
SetText
(
rTxt
);
}
void
SetLoginRequestText
(
const
OUString
&
rTxt
)
{
m_pRequestInfo
->
SetText
(
rTxt
);
}
void
ClearPassword
();
...
...
uui/source/loginerr.hxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -64,13 +64,13 @@ public:
bool
IsRecommendToOpenReadonly
()
const
{
return
m_bRecommendToOpenReadonly
;
}
const
OUString
&
GetPath
()
const
{
return
m_aPath
;
}
const
OUString
&
GetErrorText
()
const
{
return
m_aErrorText
;
}
sal_B
ool
GetCanRememberPassword
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_CAN_REMEMBER_PASSWORD
);
}
sal_B
ool
GetIsRememberPersistent
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_REMEMBER_PERSISTENT
);
}
sal_B
ool
GetIsRememberPassword
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_IS_REMEMBER_PASSWORD
);
}
b
ool
GetCanRememberPassword
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_CAN_REMEMBER_PASSWORD
);
}
b
ool
GetIsRememberPersistent
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_REMEMBER_PERSISTENT
);
}
b
ool
GetIsRememberPassword
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_IS_REMEMBER_PASSWORD
);
}
sal_B
ool
GetCanUseSystemCredentials
()
const
b
ool
GetCanUseSystemCredentials
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_CAN_USE_SYSCREDS
);
}
sal_B
ool
GetIsUseSystemCredentials
()
const
b
ool
GetIsUseSystemCredentials
()
const
{
return
(
m_nFlags
&
LOGINERROR_FLAG_IS_USE_SYSCREDS
)
==
LOGINERROR_FLAG_IS_USE_SYSCREDS
;
}
sal_uInt8
GetFlags
()
const
{
return
m_nFlags
;
}
...
...
@@ -97,20 +97,20 @@ public:
void
SetFlags
(
sal_uInt8
nFlags
)
{
m_nFlags
=
nFlags
;
}
inline
void
SetCanRememberPassword
(
sal_B
ool
bSet
);
inline
void
SetIsRememberPassword
(
sal_B
ool
bSet
);
inline
void
SetIsRememberPersistent
(
sal_B
ool
bSet
);
inline
void
SetCanRememberPassword
(
b
ool
bSet
);
inline
void
SetIsRememberPassword
(
b
ool
bSet
);
inline
void
SetIsRememberPersistent
(
b
ool
bSet
);
inline
void
SetCanUseSystemCredentials
(
sal_B
ool
bSet
);
inline
void
SetIsUseSystemCredentials
(
sal_B
ool
bSet
);
inline
void
SetModifyAccount
(
sal_B
ool
bSet
);
inline
void
SetModifyUserName
(
sal_B
ool
bSet
);
inline
void
SetCanUseSystemCredentials
(
b
ool
bSet
);
inline
void
SetIsUseSystemCredentials
(
b
ool
bSet
);
inline
void
SetModifyAccount
(
b
ool
bSet
);
inline
void
SetModifyUserName
(
b
ool
bSet
);
void
SetResult
(
sal_uInt16
nRet
)
{
m_nRet
=
nRet
;
}
};
inline
void
LoginErrorInfo
::
SetCanRememberPassword
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetCanRememberPassword
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_CAN_REMEMBER_PASSWORD
;
...
...
@@ -118,7 +118,7 @@ inline void LoginErrorInfo::SetCanRememberPassword( sal_Bool bSet )
m_nFlags
&=
~
LOGINERROR_FLAG_CAN_REMEMBER_PASSWORD
;
}
inline
void
LoginErrorInfo
::
SetIsRememberPassword
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetIsRememberPassword
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_IS_REMEMBER_PASSWORD
;
...
...
@@ -126,7 +126,7 @@ inline void LoginErrorInfo::SetIsRememberPassword( sal_Bool bSet )
m_nFlags
&=
~
LOGINERROR_FLAG_IS_REMEMBER_PASSWORD
;
}
inline
void
LoginErrorInfo
::
SetIsRememberPersistent
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetIsRememberPersistent
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_REMEMBER_PERSISTENT
;
...
...
@@ -134,7 +134,7 @@ inline void LoginErrorInfo::SetIsRememberPersistent( sal_Bool bSet )
m_nFlags
&=
~
LOGINERROR_FLAG_REMEMBER_PERSISTENT
;
}
inline
void
LoginErrorInfo
::
SetCanUseSystemCredentials
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetCanUseSystemCredentials
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_CAN_USE_SYSCREDS
;
...
...
@@ -142,7 +142,7 @@ inline void LoginErrorInfo::SetCanUseSystemCredentials( sal_Bool bSet )
m_nFlags
&=
~
LOGINERROR_FLAG_CAN_USE_SYSCREDS
;
}
inline
void
LoginErrorInfo
::
SetIsUseSystemCredentials
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetIsUseSystemCredentials
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_IS_USE_SYSCREDS
;
...
...
@@ -150,7 +150,7 @@ inline void LoginErrorInfo::SetIsUseSystemCredentials( sal_Bool bSet )
m_nFlags
&=
~
LOGINERROR_FLAG_IS_USE_SYSCREDS
;
}
inline
void
LoginErrorInfo
::
SetModifyAccount
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetModifyAccount
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_MODIFY_ACCOUNT
;
...
...
@@ -158,7 +158,7 @@ inline void LoginErrorInfo::SetModifyAccount( sal_Bool bSet )
m_nFlags
&=
~
LOGINERROR_FLAG_MODIFY_ACCOUNT
;
}
inline
void
LoginErrorInfo
::
SetModifyUserName
(
sal_B
ool
bSet
)
inline
void
LoginErrorInfo
::
SetModifyUserName
(
b
ool
bSet
)
{
if
(
bSet
)
m_nFlags
|=
LOGINERROR_FLAG_MODIFY_USER_NAME
;
...
...
uui/source/passwordcontainer.cxx
Dosyayı görüntüle @
0376c6dc
...
...
@@ -131,7 +131,7 @@ bool PasswordContainerHelper::handleAuthenticationRequest(
uno
::
Reference
<
ucb
::
XInteractionSupplyAuthentication2
>
xSupplyAuthentication2
(
xSupplyAuthentication
,
uno
::
UNO_QUERY
);
sal_Bool
bCanUseSystemCredentials
=
sal_F
alse
;
bool
bCanUseSystemCredentials
=
f
alse
;
if
(
xSupplyAuthentication2
.
is
())
{
sal_Bool
bDefaultUseSystemCredentials
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment