diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-04-21 07:50:54 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2018-04-21 11:02:29 +0200 |
commit | de07f40030bbd604bc42d58f0e954cca284a2646 (patch) | |
tree | d16090c7008b533b8af295b68701681012ba7608 /sfx2/source | |
parent | 3322661414a558d29146c40c0cd5e9db0a7b21dd (diff) |
cppcheck: identicalInnerCondition
renamed temporary list in EnhancedCustomShape2d.cxx to avoid shadow
of a local variable
Change-Id: I17a2261dafd2067480fcc5314af4f48765d6b690
Reviewed-on: https://gerrit.libreoffice.org/53244
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 17e8edd623cb..1f5472b3087e 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -736,8 +736,7 @@ sal_Int8 ModelData_Impl::CheckFilter( const OUString& aFilterName ) { // get properties of filter uno::Sequence< beans::PropertyValue > aFilterProps; - if ( !aFilterName.isEmpty() ) - m_pOwner->GetFilterConfiguration()->getByName( aFilterName ) >>= aFilterProps; + m_pOwner->GetFilterConfiguration()->getByName( aFilterName ) >>= aFilterProps; aFiltPropsHM = ::comphelper::SequenceAsHashMap( aFilterProps ); nFiltFlags = static_cast<SfxFilterFlags>(aFiltPropsHM.getUnpackedValueOrDefault("Flags", sal_Int32(0) )); |