loplugin:salbool
Change-Id: I7dfd48a04e2dff1391d10acb75180711b403af9b
This commit is contained in:
@@ -89,7 +89,7 @@ namespace dxcanvas
|
|||||||
awt::Rectangle aRect;
|
awt::Rectangle aRect;
|
||||||
maArguments[2] >>= aRect;
|
maArguments[2] >>= aRect;
|
||||||
|
|
||||||
sal_Bool bIsFullscreen( false );
|
bool bIsFullscreen( false );
|
||||||
maArguments[3] >>= bIsFullscreen;
|
maArguments[3] >>= bIsFullscreen;
|
||||||
|
|
||||||
// setup helper
|
// setup helper
|
||||||
|
@@ -108,7 +108,7 @@ void OConnection::construct(const OUString& url,const Sequence< PropertyValue >&
|
|||||||
aDSN = aDSN.copy(7);
|
aDSN = aDSN.copy(7);
|
||||||
|
|
||||||
sal_Int32 nTimeout = 20;
|
sal_Int32 nTimeout = 20;
|
||||||
sal_Bool bSilent = true;
|
bool bSilent = true;
|
||||||
const PropertyValue *pIter = info.getConstArray();
|
const PropertyValue *pIter = info.getConstArray();
|
||||||
const PropertyValue *pEnd = pIter + info.getLength();
|
const PropertyValue *pEnd = pIter + info.getLength();
|
||||||
for(;pIter != pEnd;++pIter)
|
for(;pIter != pEnd;++pIter)
|
||||||
|
@@ -794,7 +794,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny)
|
|||||||
}
|
}
|
||||||
case TypeClass_BOOLEAN:
|
case TypeClass_BOOLEAN:
|
||||||
{
|
{
|
||||||
sal_Bool value;
|
bool value;
|
||||||
if (rAny >>= value)
|
if (rAny >>= value)
|
||||||
{
|
{
|
||||||
pVariant->vt = VT_BOOL;
|
pVariant->vt = VT_BOOL;
|
||||||
|
@@ -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_PREVIEW : // can be ignored ... preview is supported native now !
|
||||||
case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_SELECTION :
|
case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_SELECTION :
|
||||||
{
|
{
|
||||||
sal_Bool bValue = false;
|
bool bValue = false;
|
||||||
aValue >>= bValue;
|
aValue >>= bValue;
|
||||||
iCustom->SetCheckButtonState(nId, bValue);
|
iCustom->SetCheckButtonState(nId, bValue);
|
||||||
}
|
}
|
||||||
|
@@ -2678,7 +2678,7 @@ void CMAccessible::get_OLECHARFromAny(Any& pAny, OLECHAR* pChar)
|
|||||||
}
|
}
|
||||||
case TypeClass_BOOLEAN:
|
case TypeClass_BOOLEAN:
|
||||||
{
|
{
|
||||||
sal_Bool val;
|
bool val;
|
||||||
pAny >>= val;
|
pAny >>= val;
|
||||||
swprintf( pChar, L"%d", val);
|
swprintf( pChar, L"%d", val);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user