Kaydet (Commit) ff4e258b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: I6caec041ce671aeeb9de86ea620774fb2e28f765
üst 25570b18
......@@ -81,7 +81,7 @@ void ElementDescriptor::readMultiPageModel( StyleBag * all_styles )
readDefaults();
readLongAttr( "MultiPageValue", XMLNS_DIALOGS_PREFIX ":value" );
Any aDecorationAny( _xProps->getPropertyValue( "Decoration" ) );
bool bDecoration = sal_True;
bool bDecoration = true;
if ( (aDecorationAny >>= bDecoration) && !bDecoration )
addAttribute( XMLNS_DIALOGS_PREFIX ":withtabs", "false" );
......@@ -1057,7 +1057,7 @@ void ElementDescriptor::readDialogModel( StyleBag * all_styles )
readScrollableSettings();
Any aDecorationAny( _xProps->getPropertyValue( "Decoration" ) );
bool bDecoration = sal_False;
bool bDecoration = false;
if ( (aDecorationAny >>= bDecoration) && !bDecoration )
addAttribute( XMLNS_DIALOGS_PREFIX ":withtitlebar", "false" );
readImageURLAttr( "ImageURL", XMLNS_DIALOGS_PREFIX ":image-src" );
......
......@@ -281,7 +281,7 @@ bool StyleElement::importVisualEffectStyle(
_visualEffect = awt::VisualEffect::FLAT;
}
else
OSL_ASSERT( 0 );
OSL_ASSERT( false );
_hasValue |= 0x40;
xProps->setPropertyValue( "VisualEffect", makeAny(_visualEffect) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment