diff options
Diffstat (limited to 'xmlscript/source')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx index 00d575ef8075..74022042290c 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx @@ -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" ); diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index ef41489e5434..a3dc9ec9a3ce 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -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) ); |