summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-14 20:40:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-14 21:28:06 +0100
commit854da46a4b5e201e20841c20a740210b97b2583b (patch)
treefba7260c49020033cfd8ecf8016b19d73da9911b /dbaccess
parent67afa78a4b4b815a798a5915a409a2ade9b67cf5 (diff)
This shall probably use the value of getMaxColumnsInIndex()
Change-Id: I1ae85e416440768ab40c817506d5b106289c4d72
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index 49c3173e8ada..ceba53a3b18a 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -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;