From a5fb58caa0f941caacb1fff78c22285bb7f63026 Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Thu, 10 Dec 2015 15:14:37 +0100 Subject: tdf#33338: enable autocaption position 'above' for all object types Change-Id: Idf82c1d7f1b5e149c3796f5999fd09cf2c31299f Reviewed-on: https://gerrit.libreoffice.org/20603 Tested-by: Jenkins Reviewed-by: Oliver Specht Tested-by: Oliver Specht --- sw/source/ui/config/optload.cxx | 4 +--- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3