wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java | 14 ++++++++++ 1 file changed, 14 insertions(+)
New commits: commit 4e3a02004f3fbab1996910d921294143a25334d4 Author: Csikós Tamás <csks.t...@gmail.com> Date: Mon Jul 1 12:28:21 2013 +0200 fdo#64155 - fix unlocalized 'default' list entry Change-Id: I3a8b706fe855e7fbff71f227b167a51d3a465be0 Reviewed-on: https://gerrit.libreoffice.org/4673 Reviewed-by: Petr Mladek <pmla...@suse.cz> Tested-by: Petr Mladek <pmla...@suse.cz> diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java index 55615af..f80da12 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java +++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java @@ -55,6 +55,7 @@ import com.sun.star.wizards.report.IReportDocument; import com.sun.star.wizards.report.ReportImplementationHelper; import com.sun.star.wizards.report.ReportLayouter; import com.sun.star.wizards.report.ReportWizard; +import com.sun.star.wizards.ui.UIConsts; import java.util.logging.Level; import java.util.logging.Logger; @@ -684,9 +685,22 @@ public class ReportBuilderImplementation extends ReportImplementationHelper break; } } + exchangeLayoutTitlesWithLocalisedOnes(LayoutFiles); return LayoutFiles; } + private void exchangeLayoutTitlesWithLocalisedOnes(String[][] LayoutFiles) + { + for(int i = 0; i < LayoutFiles[0].length; ++i) + { + if( LayoutFiles[0][i] == null) { break;} + if( LayoutFiles[0][i].equals("default") ) + { + LayoutFiles[0][i] = m_resource.getResText(UIConsts.RID_REPORT + 100); + } + } + } + public XReportDefinition getReportDefinition() { if (m_reportDocument == null)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits