diff options
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index 59148611a702..f66bbfcd8ea8 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx @@ -1051,9 +1051,9 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible SAL_WARN( "xmlscript.xmldlg", "unexpected property type for \"Enabled\": not bool!" ); } - bool bVisible = true; if (supportVisible) try { + bool bVisible = true; if (_xProps->getPropertyValue("EnableVisible" ) >>= bVisible) { |