loplugin:salbool

Change-Id: I7dfd48a04e2dff1391d10acb75180711b403af9b
This commit is contained in:
Stephan Bergmann
2017-01-06 11:19:42 +01:00
parent 4654e312cf
commit c38aa3b734
5 changed files with 5 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ namespace dxcanvas
awt::Rectangle aRect;
maArguments[2] >>= aRect;
sal_Bool bIsFullscreen( false );
bool bIsFullscreen( false );
maArguments[3] >>= bIsFullscreen;
// setup helper

View File

@@ -108,7 +108,7 @@ void OConnection::construct(const OUString& url,const Sequence< PropertyValue >&
aDSN = aDSN.copy(7);
sal_Int32 nTimeout = 20;
sal_Bool bSilent = true;
bool bSilent = true;
const PropertyValue *pIter = info.getConstArray();
const PropertyValue *pEnd = pIter + info.getLength();
for(;pIter != pEnd;++pIter)

View File

@@ -794,7 +794,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny)
}
case TypeClass_BOOLEAN:
{
sal_Bool value;
bool value;
if (rAny >>= value)
{
pVariant->vt = VT_BOOL;

View File

@@ -1074,7 +1074,7 @@ void VistaFilePickerImpl::impl_sta_SetControlValue(const RequestRef& rRequest)
//case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_PREVIEW : // can be ignored ... preview is supported native now !
case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_SELECTION :
{
sal_Bool bValue = false;
bool bValue = false;
aValue >>= bValue;
iCustom->SetCheckButtonState(nId, bValue);
}

View File

@@ -2678,7 +2678,7 @@ void CMAccessible::get_OLECHARFromAny(Any& pAny, OLECHAR* pChar)
}
case TypeClass_BOOLEAN:
{
sal_Bool val;
bool val;
pAny >>= val;
swprintf( pChar, L"%d", val);
break;