diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 08:43:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 09:39:21 +0200 |
commit | 5e4b4eecb1b2b7113f45e9468574624d30c7097c (patch) | |
tree | 701fc89158bfbffab65fc222e062a927aa769120 /sfx2/source/doc/objmisc.cxx | |
parent | 182a74d937088f0f08850014a7b918719e106b7d (diff) |
loplugin:unusedfields in sfx2
Change-Id: Id6666065bf3b27388d87aa2605229e83f1aed79a
Reviewed-on: https://gerrit.libreoffice.org/40255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-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 febf5fbfe728..4e910b57fcc5 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -912,7 +912,7 @@ bool SfxObjectShell::IsAutoLoadLocked() const */ { - return !IsReadOnly() || pImpl->nAutoLoadLocks > 0; + return !IsReadOnly(); } |