summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/reportbuilder
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-09 16:34:41 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-09-09 18:34:52 +0000
commitbaa6bb9621f604669d09ba7a7f21c16d46430194 (patch)
tree31b6b27b3641b70326d2842f1ff5dc0767c34004 /wizards/com/sun/star/wizards/reportbuilder
parentb53415f168b06a0ae1dfbc73f796bb03ddd40651 (diff)
wizards: use a character literal
Change-Id: I22d530e0feb9e3112b4f2e7548d6335235713247 Reviewed-on: https://gerrit.libreoffice.org/11360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'wizards/com/sun/star/wizards/reportbuilder')
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
index 93947e2b6bf4..8c8175b3b9e2 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
@@ -698,7 +698,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter
{
if (_sName.startsWith("field:["))
{
- int nCloseBrace = _sName.lastIndexOf("]");
+ int nCloseBrace = _sName.lastIndexOf(']');
return _sName.substring(7, nCloseBrace).trim();
}
return _sName;