[Libreoffice-commits] core.git: sw/source
Oliver Specht
oliver.specht at cib.de
Thu Dec 10 22:37:46 PST 2015
sw/source/ui/config/optload.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit a5fb58caa0f941caacb1fff78c22285bb7f63026
Author: Oliver Specht <oliver.specht at cib.de>
Date: Thu Dec 10 15:14:37 2015 +0100
tdf#33338: enable autocaption position 'above' for all object types
Change-Id: Idf82c1d7f1b5e149c3796f5999fd09cf2c31299f
Reviewed-on: https://gerrit.libreoffice.org/20603
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht at cib.de>
Tested-by: Oliver Specht <oliver.specht at cib.de>
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 5637b5b..49c63a8 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;
More information about the Libreoffice-commits
mailing list