summaryrefslogtreecommitdiff
path: root/xmlscript/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-20 12:48:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-20 15:39:38 +0200
commit283a9790bffa6536f4c26bd31d85f815bc64dd08 (patch)
treec65ac7fe50fbea809dd765c24edbb47b57adea2b /xmlscript/source
parent18bdf78e156f3cd1e6ccbb3ae28e919583bac70c (diff)
loplugin:indentation check for indent inside block
look for places where the statements inside a block are not indented Change-Id: I0cbfa7e0b6fb194b2aff6fa7e070fb907d70ca2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123885 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript/source')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_import.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index 51fcc91d7467..ab9b47d0e619 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -1577,14 +1577,14 @@ void ImportContext::importDefaults(
sal_Bool bVisible = true;
if (getBoolAttr( &bVisible, "visible", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && !bVisible)
{
- try
- {
- _xControlModel->setPropertyValue( "EnableVisible", makeAny( false ) );
- }
- catch( Exception& )
- {
- DBG_UNHANDLED_EXCEPTION("xmlscript.xmldlg");
- }
+ try
+ {
+ _xControlModel->setPropertyValue( "EnableVisible", makeAny( false ) );
+ }
+ catch( Exception& )
+ {
+ DBG_UNHANDLED_EXCEPTION("xmlscript.xmldlg");
+ }
}
if (!importLongProperty( nBaseX, "PositionX", "left", xAttributes ) ||