summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/db/FieldColumn.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java
index 8ff86fdb5927..77650490a904 100644
--- a/wizards/com/sun/star/wizards/db/FieldColumn.java
+++ b/wizards/com/sun/star/wizards/db/FieldColumn.java
@@ -136,7 +136,7 @@ public class FieldColumn
*/
private String getOnlyFieldName(String _DisplayFieldName, String _CommandName)
{
- return _DisplayFieldName.substring(_CommandName.length() + 1, _DisplayFieldName.length());
+ return _DisplayFieldName.substring(_CommandName.length() + 1);
}
public static String composeDisplayFieldName(String _sCommandName, String _sFieldName)