summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index cee35209acde..4d157d2c6736 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -561,7 +561,7 @@ void FormattedFieldElement::endElement()
{
Reference< util::XNumberFormats > xFormats(
_pImport->getNumberFormatsSupplier()->getNumberFormats() );
- sal_Int32 nKey = xFormats->queryKey( sFormat, locale, sal_True );
+ sal_Int32 nKey = xFormats->queryKey( sFormat, locale, true );
if (-1 == nKey)
{
nKey = xFormats->addNew( sFormat, locale );
@@ -1225,7 +1225,7 @@ void TitledBoxElement::endElement()
ctx.importStringProperty( "GroupName", "group-name", xAttributes );
sal_Int16 nVal = 0;
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bChecked)
{
nVal = 1;
@@ -1321,7 +1321,7 @@ void RadioGroupElement::endElement()
ctx.importBooleanProperty( "MultiLine", "multiline", xAttributes );
ctx.importStringProperty( "GroupName", "group-name", xAttributes );
sal_Int16 nVal = 0;
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bChecked)
{
nVal = 1;
@@ -1578,12 +1578,12 @@ void CheckBoxElement::endElement()
ctx.importImagePositionProperty( "ImagePosition", "image-position", _xAttributes );
ctx.importBooleanProperty( "MultiLine", "multiline", _xAttributes );
- sal_Bool bTriState = sal_False;
+ sal_Bool bTriState = false;
if (getBoolAttr( &bTriState, "tristate", _xAttributes, _pImport->XMLNS_DIALOGS_UID ))
{
xControlModel->setPropertyValue( "TriState", makeAny( bTriState ) );
}
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", _xAttributes, _pImport->XMLNS_DIALOGS_UID ))
{
// has "checked" attribute
@@ -1655,7 +1655,7 @@ void ButtonElement::endElement()
ctx.importBooleanProperty( "FocusOnClick", "grab-focus", _xAttributes );
ctx.importBooleanProperty( "MultiLine", "multiline", _xAttributes );
// State
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", _xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bChecked)
{
sal_Int16 nVal = 1;