This shall probably use the value of getMaxColumnsInIndex()

Change-Id: I1ae85e416440768ab40c817506d5b106289c4d72
This commit is contained in:
Stephan Bergmann 2014-01-14 20:40:31 +01:00
parent 67afa78a4b
commit 854da46a4b

View File

@ -493,7 +493,7 @@ void OTableController::doEditIndexes()
if (!xIndexes.is())
return;
DbaIndexDialog aDialog(getView(), aFieldNames, xIndexes, getConnection(), getORB(), isConnected() ? getConnection()->getMetaData().is() && getConnection()->getMetaData()->getMaxColumnsInIndex() : sal_Int32(0));
DbaIndexDialog aDialog(getView(), aFieldNames, xIndexes, getConnection(), getORB(), isConnected() && getConnection()->getMetaData().is() ? getConnection()->getMetaData()->getMaxColumnsInIndex() : 0);
if (RET_OK != aDialog.Execute())
return;