summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 9cb911c469e0..eec2e4ca980d 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1796,17 +1796,14 @@ void CustomPropertiesWindow::ReloadLinesContent()
pLine->m_xDurationField->SetDuration(aTmpDuration);
}
- if (nType != Custom_Type_Duration)
+ if (Custom_Type_Boolean == nType)
{
- if (Custom_Type_Boolean == nType)
- {
- if (bTmpValue)
- pLine->m_xYesNoButton->CheckYes();
- else
- pLine->m_xYesNoButton->CheckNo();
- }
- pLine->m_xTypeBox->set_active_id(OUString::number(nType));
+ if (bTmpValue)
+ pLine->m_xYesNoButton->CheckYes();
+ else
+ pLine->m_xYesNoButton->CheckNo();
}
+ pLine->m_xTypeBox->set_active_id(OUString::number(nType));
pLine->DoTypeHdl(*pLine->m_xTypeBox);
}