summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-12-10 15:14:37 +0100
committerOliver Specht <oliver.specht@cib.de>2015-12-11 06:37:19 +0000
commita5fb58caa0f941caacb1fff78c22285bb7f63026 (patch)
treea96847226bd136ef04a984f98a055f1678bd4101 /sw/source
parentfeb59478cd3d0e81b1acbead259f3087c3434bec (diff)
tdf#33338: enable autocaption position 'above' for all object types
Change-Id: Idf82c1d7f1b5e149c3796f5999fd09cf2c31299f Reviewed-on: https://gerrit.libreoffice.org/20603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/config/optload.cxx4
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;