diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/config/optload.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index 5637b5b3f3ef..49c63a885b20 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -765,9 +765,7 @@ IMPL_LINK_NOARG_TYPED(SwCaptionOptPage, ShowEntryHdl, SvTreeListBox*, void) break; } m_pPosBox->SelectEntryPos(pOpt->GetPos()); - m_pPosBox->Enable( pOpt->GetObjType() != GRAPHIC_CAP && - pOpt->GetObjType() != OLE_CAP && - m_pPosBox->IsEnabled() ); + m_pPosBox->Enable( m_pPosBox->IsEnabled() ); m_pPosBox->SelectEntryPos(pOpt->GetPos()); sal_Int32 nLevelPos = ( pOpt->GetLevel() < MAXLEVEL ) ? pOpt->GetLevel() + 1 : 0; |