diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 14:50:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 09:25:39 +0200 |
commit | e22408d15f74f3aa4be324fa00978f7041882673 (patch) | |
tree | 5c0efed632bf1d0afaea8bf0b7502db7af107959 /wizards | |
parent | 34aaf2a45e11fef533e0885ccf39731a79a99b91 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I937be6f80272db668fff7fb77e5f7f2dd402c23e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101780
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java index 6bd2ae6e8e92..289f76dd36d4 100644 --- a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java +++ b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java @@ -52,14 +52,14 @@ public class PrimaryKeyHandler implements XFieldSelectionListener private final FieldSelection curPrimaryKeySelection; private String[] fieldnames; private final TableDescriptor curTableDescriptor; - private final boolean bAutoPrimaryKeysupportsAutoIncrmentation; + private final boolean bAutoPrimaryKeysupportsAutoIncrementation; private static final String SAUTOMATICKEYFIELDNAME = "ID"; public PrimaryKeyHandler(TableWizard _CurUnoDialog, TableDescriptor _curTableDescriptor) { this.CurUnoDialog = _CurUnoDialog; curTableDescriptor = _curTableDescriptor; - bAutoPrimaryKeysupportsAutoIncrmentation = curTableDescriptor.oTypeInspector.isAutoIncrementationSupported(); + bAutoPrimaryKeysupportsAutoIncrementation = curTableDescriptor.oTypeInspector.isAutoIncrementationSupported(); short curtabindex = (short) ((TableWizard.SOPRIMARYKEYPAGE * 100) - 20); Integer IPRIMEKEYSTEP = Integer.valueOf(TableWizard.SOPRIMARYKEYPAGE); final String sExplanations = CurUnoDialog.m_oResource.getResText("RID_TABLE_26"); @@ -274,7 +274,7 @@ public class PrimaryKeyHandler implements XFieldSelectionListener { boolean bdoEnable = (this.chkcreatePrimaryKey.getState() == 1); Helper.setUnoPropertyValue(UnoDialog.getModel(optAddAutomatically), PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bdoEnable)); - Helper.setUnoPropertyValue(UnoDialog.getModel(chkApplyAutoValueAutomatic), PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bAutoPrimaryKeysupportsAutoIncrmentation && bdoEnable)); + Helper.setUnoPropertyValue(UnoDialog.getModel(chkApplyAutoValueAutomatic), PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bAutoPrimaryKeysupportsAutoIncrementation && bdoEnable)); Helper.setUnoPropertyValue(UnoDialog.getModel(optUseExisting), PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bdoEnable)); Helper.setUnoPropertyValue(UnoDialog.getModel(optUseSeveral), PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bdoEnable)); //toggle subcontrols of the radiobuttons... @@ -386,7 +386,7 @@ public class PrimaryKeyHandler implements XFieldSelectionListener try { boolean bisAutomaticMode = AnyConverter.toBoolean(Helper.getUnoPropertyValue(UnoDialog.getModel(optAddAutomatically), PropertyNames.PROPERTY_ENABLED)); - boolean bdoenable = bAutoPrimaryKeysupportsAutoIncrmentation && optAddAutomatically.getState() && bisAutomaticMode; + boolean bdoenable = bAutoPrimaryKeysupportsAutoIncrementation && optAddAutomatically.getState() && bisAutomaticMode; Helper.setUnoPropertyValue(UnoDialog.getModel(chkApplyAutoValueAutomatic), PropertyNames.PROPERTY_ENABLED, Boolean.valueOf(bdoenable)); } catch (IllegalArgumentException e) |