diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 08:32:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 11:08:48 +0200 |
commit | 4b2262ab5b10f334f1984fec84d2978db81c58f1 (patch) | |
tree | de56663eba6ed2edf7a26127339dd8563fdf47be /sfx2/source/doc/objstor.cxx | |
parent | ec1de6895d84fbe4f2d5fb7135a59a918138d970 (diff) |
new loplugin unnecessaryparen
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec
Reviewed-on: https://gerrit.libreoffice.org/39549
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 1bb7a932b853..5c3f71f1c398 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -800,13 +800,13 @@ bool SfxObjectShell::DoLoad( SfxMedium *pMed ) if ( xProps->hasPropertyByName( aAuthor ) ) { aAny = aContent.getPropertyValue( aAuthor ); - if ( ( aAny >>= aValue ) ) + if ( aAny >>= aValue ) xDocProps->setAuthor(aValue); } if ( xProps->hasPropertyByName( aKeywords ) ) { aAny = aContent.getPropertyValue( aKeywords ); - if ( ( aAny >>= aValue ) ) + if ( aAny >>= aValue ) xDocProps->setKeywords( ::comphelper::string::convertCommaSeparated(aValue)); ; @@ -814,7 +814,7 @@ bool SfxObjectShell::DoLoad( SfxMedium *pMed ) if ( xProps->hasPropertyByName( aSubject ) ) { aAny = aContent.getPropertyValue( aSubject ); - if ( ( aAny >>= aValue ) ) { + if ( aAny >>= aValue ) { xDocProps->setSubject(aValue); } } |