diff options
Diffstat (limited to 'wizards/com')
-rw-r--r-- | wizards/com/sun/star/wizards/query/QueryWizard.java | 2 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/ui/FieldSelection.java | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java index 4ecb47072c45..471aa4a8594a 100644 --- a/wizards/com/sun/star/wizards/query/QueryWizard.java +++ b/wizards/com/sun/star/wizards/query/QueryWizard.java @@ -444,7 +444,7 @@ public class QueryWizard extends DatabaseObjectWizard if (JavaTools.FieldInList(m_DBMetaData.NonAggregateFieldNames, CurDisplayFieldName) > -1) { showMessageBox("ErrorBox", VclWindowPeerAttribute.OK, resmsgNonNumericAsGroupBy); - m_groupFieldSelection.xSelectedFieldsListBox.addItems(SelItems, m_groupFieldSelection.xSelectedFieldsListBox.getItemCount()); + m_groupFieldSelection.getSelectedFieldsListBox().addItems(SelItems, m_groupFieldSelection.getSelectedFieldsListBox().getItemCount()); String FieldList[] = m_groupFieldSelection.getFieldsListBox().getItems(); int index = JavaTools.FieldInList(FieldList, CurDisplayFieldName); if (index > -1) diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java index 7c4e912539b8..97f19e4eb108 100644 --- a/wizards/com/sun/star/wizards/ui/FieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java @@ -26,7 +26,7 @@ import java.util.*; public class FieldSelection { protected XListBox xFieldsListBox; // Left ListBox - public XListBox xSelectedFieldsListBox; // right (selected) ListBox + protected XListBox xSelectedFieldsListBox; // right (selected) ListBox protected UnoDialog CurUnoDialog; protected String sIncSuffix; @@ -628,6 +628,11 @@ public class FieldSelection return xFieldsListBox; } + public XListBox getSelectedFieldsListBox() + { + return xSelectedFieldsListBox; + } + public void setModified(boolean _bModified) { bisModified = _bModified; |