View | Details | Raw Unified | Return to issue 24445
Collapse All | Expand All

(-)a/main/sw/source/ui/config/optload.cxx (-3 / +1 lines)
Lines 769-777 IMPL_LINK( SwCaptionOptPage, ShowEntryHdl, SvxCheckListBox *, EMPTYARG ) Link Here
769
				break;
769
				break;
770
		}
770
		}
771
		aPosBox.SelectEntryPos(pOpt->GetPos());
771
		aPosBox.SelectEntryPos(pOpt->GetPos());
772
        aPosBox.Enable( pOpt->GetObjType() != GRAPHIC_CAP && 
772
        aPosBox.Enable( aPosText.IsEnabled() );
773
                pOpt->GetObjType() != OLE_CAP && 
774
                aPosText.IsEnabled() );
775
		aPosBox.SelectEntryPos(pOpt->GetPos());
773
		aPosBox.SelectEntryPos(pOpt->GetPos());
776
774
777
		sal_uInt16 nLevelPos = ( pOpt->GetLevel() < MAXLEVEL ) ? pOpt->GetLevel() + 1 : 0;
775
		sal_uInt16 nLevelPos = ( pOpt->GetLevel() < MAXLEVEL ) ? pOpt->GetLevel() + 1 : 0;
(-)a/main/sw/source/ui/frmdlg/cption.cxx (-5 lines)
Lines 272-282 SwCaptionDialog::SwCaptionDialog( Window *pParent, SwView &rV ) : Link Here
272
			break;
272
			break;
273
	}
273
	}
274
	aPosBox.SelectEntryPos(1);
274
	aPosBox.SelectEntryPos(1);
275
	if (eType & (nsSelectionType::SEL_GRF|nsSelectionType::SEL_DRW))
276
    {
277
        aPosText.Enable( sal_False );
278
        aPosBox.Enable( sal_False );
279
    }
280
275
281
	aCategoryBox.GetModifyHdl().Call(&aCategoryBox);
276
	aCategoryBox.GetModifyHdl().Call(&aCategoryBox);
282
277

Return to issue 24445