diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-08 15:55:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-08 16:10:43 +0100 |
commit | 930d4b4268ef9584a77bb28425ff26c4b70bc9cd (patch) | |
tree | 55a0758bdfe808cac98a173435c75459669023b8 | |
parent | 95297dde822d27af727137c25b5b1556547da619 (diff) |
coverity#735482 Logically dead code
Change-Id: I3bab58d022ccbec095b6ee70a076d912c4ffa957
-rw-r--r-- | sd/source/ui/dlg/headerfooterdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index 32db72343837..48c3c0b1dddd 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -693,7 +693,7 @@ void HeaderFooterTabPage::GetOrSetDateTimeLanguage( LanguageType &rLanguage, boo { if( bSet ) { - SfxItemSet aSet( pEdit->GetAttribs( aFieldInfo.aPosition.nPara, aFieldInfo.aPosition.nIndex, aFieldInfo.aPosition.nIndex+1, bSet ? GETATTRIBS_CHARATTRIBS : GETATTRIBS_ALL ) ); + SfxItemSet aSet( pEdit->GetAttribs( aFieldInfo.aPosition.nPara, aFieldInfo.aPosition.nIndex, aFieldInfo.aPosition.nIndex+1, GETATTRIBS_CHARATTRIBS ) ); SvxLanguageItem aItem( rLanguage, EE_CHAR_LANGUAGE ); aSet.Put( aItem ); |