summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-08 15:55:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-08 16:10:43 +0100
commit930d4b4268ef9584a77bb28425ff26c4b70bc9cd (patch)
tree55a0758bdfe808cac98a173435c75459669023b8
parent95297dde822d27af727137c25b5b1556547da619 (diff)
coverity#735482 Logically dead code
Change-Id: I3bab58d022ccbec095b6ee70a076d912c4ffa957
-rw-r--r--sd/source/ui/dlg/headerfooterdlg.cxx2
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 );