InsetCaption.cpp: revert unintended commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32470 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-12-11 01:01:58 +00:00
parent 83b1c48846
commit a01b8a1d1c

View File

@ -174,14 +174,6 @@ bool InsetCaption::insetAllowed(InsetCode code) const
case CAPTION_CODE:
case NEWPAGE_CODE:
case MATHMACRO_CODE:
case MATH_AMSARRAY_CODE:
case MATH_BOX_CODE:
case MATH_ENV_CODE:
case MATH_MATRIX_CODE:
case MATH_OVERSET_CODE:
case MATH_SUBSTACK_CODE:
case MATH_UNDERSET_CODE:
case MATH_XYMATRIX_CODE:
return false;
default:
return InsetText::insetAllowed(code);