summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_export.cxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_export.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index 5eef0f3465e3..d64ba5a06edf 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -1037,7 +1037,7 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
addAttribute( XMLNS_DIALOGS_PREFIX ":id", * reinterpret_cast< const OUString * >( a.getValue() ) );
readShortAttr( "TabIndex", XMLNS_DIALOGS_PREFIX ":tab-index" );
- sal_Bool bEnabled = sal_False;
+ bool bEnabled = false;
if (_xProps->getPropertyValue( "Enabled" ) >>= bEnabled)
{
if (! bEnabled)
@@ -1050,7 +1050,7 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
SAL_WARN( "xmlscript.xmldlg", "unexpected property type for \"Enabled\": not bool!" );
}
- sal_Bool bVisible = sal_True;
+ bool bVisible = true;
if (supportVisible) try
{
if (_xProps->getPropertyValue("EnableVisible" ) >>= bVisible)