diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-12 12:17:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-11 08:24:19 +0100 |
commit | f76bf262a60c154684ffefbd53a5339fa3864e42 (patch) | |
tree | 6b287051d4ad9d5258eecd3efa0ebb8a020d2b2c /sfx2 | |
parent | b143e7642f93e83f4f3c4df56c3e1e8e64e36ce0 (diff) |
new loplugin indentation
look for mixed indentation in compound statements, which makes them hard
to read, and sometimes makes it look like a statement is associated with
a nearby if/for
Change-Id: Ic8429cee1f9a86d938097a4a8769a2bce97b3361
Reviewed-on: https://gerrit.libreoffice.org/63283
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 151de48fb17e..84e0b6660f49 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -374,7 +374,7 @@ void SfxObjectShell::SetReadOnly() // medium open mode is adjusted accordingly, and the write lock // on the file is removed. - if ( !pMedium || IsReadOnlyMedium() ) + if ( !pMedium || IsReadOnlyMedium() ) return; bool bWasROUI = IsReadOnly(); |