src/sap.ui.layout/src/sap/ui/layout/Splitter.js
function _ensureLayoutData(oContent) {
		var oLd = oContent.getLayoutData();
		// Make sure LayoutData is set on the content
		// But this approach has the advantage that "compatible" LayoutData can be used.
		if (oLd && (!oLd.getResizable || !oLd.getSize || !oLd.getMinSize)) {
			Log.warning(
				"Content \"" + oContent.getId() + "\" for the Splitter contained wrong LayoutData. " +
				"The LayoutData has been replaced with default values."
			);
			oLd = null;
		}
		if (!oLd) {
			oContent.setLayoutData(new sap.ui.layout.SplitterLayoutData());
		}
	}
function _ensureLayoutData(oContent) {
		var oLd = oContent.getLayoutData();
		// Make sure LayoutData is set on the content
		// But this approach has the advantage that "compatible" LayoutData can be used.
		if (oLd && (!oLd.getResizable || !oLd.getSize || !oLd.getMinSize)) {
			Log.warning(
				"Content \"" + oContent.getId() + "\" for the Splitter contained wrong LayoutData. " +
				"The LayoutData has been replaced with default values."
			);
			oLd = null;
		}
		if (!oLd) {
			oContent.setLayoutData(new sap.ui.layout.SplitterLayoutData());
		}
	}
function _ensureLayoutData ( oContent ) { var oLd = oContent . getLayoutData ( ) ; // Make sure LayoutData is set on the content // But this approach has the advantage that "compatible" LayoutData can be used. if ( oLd && ( ! oLd . getResizable || ! oLd . getSize || ! oLd . getMinSize ) ) { Log . warning ( "Content \"" + oContent . getId ( ) + "\" for the Splitter contained wrong LayoutData. " + "The LayoutData has been replaced with default values." ) ; oLd = null ; } if ( ! oLd ) { oContent . setLayoutData ( new sap . ui . layout . SplitterLayoutData ( ) ) ; } }
Makes sure the LayoutData for the given control is set and compatible. In case nothing is set,
a default sap.ui.layout.SplitterLayoutData is set on the Element

@param {sap.ui.core.Element} [oContent] The Element for which the existance of LayoutData should be ensured
@private
Makes sure the LayoutData for the given control is set and compatible . In case nothing is set a default sap . ui . layout . SplitterLayoutData is set on the Element