From d721cc515b1056226c562b2d85870da6f69180a4 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 17:56:36 +0200 Subject: Fix typos Change-Id: I8f4500fc7a901c5cc73634ba6da6b9541452e5ae Reviewed-on: https://gerrit.libreoffice.org/18966 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- .../report/pentaho/loader/InputRepositoryResourceData.java | 2 +- .../libreoffice/report/pentaho/model/OfficeStylesCollection.java | 2 +- .../report/pentaho/output/OfficeDocumentReportTarget.java | 2 +- .../java/org/libreoffice/report/pentaho/output/StyleUtilities.java | 2 +- .../libreoffice/report/pentaho/output/text/TextRawReportTarget.java | 6 +++--- .../report/pentaho/parser/rpt/FormattedTextReadHandler.java | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'reportbuilder') diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java b/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java index e3dde734416c..dd2b48068f84 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java @@ -47,7 +47,7 @@ public class InputRepositoryResourceData extends AbstractResourceData public Object getAttribute(final String key) { - // we dont support attributes here .. + // we don't support attributes here .. return null; } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java index 71562ca5beb2..90647e45bf95 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java @@ -80,7 +80,7 @@ public class OfficeStylesCollection extends Element } // And later: Autogenerate one of the default styles. - // However, at this moment, we dont have a clue about the default styles + // However, at this moment, we don't have a clue about the default styles // at all. Maybe we should add them to make this implementation more robust // against invalid documents. return null; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index eef2178934a9..2889a8f3b4eb 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -1401,7 +1401,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget imageAreaHeightVal = CSSNumericValue.createValue(imageAreaHeightVal.getType(), ret[1]); } } - // If we do scale, then we simply use the given image-area-size as valid image size and dont + // If we do scale, then we simply use the given image-area-size as valid image size and don't // care about the image itself .. } else diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java index 8ba9231850cd..db8fe0fd18d0 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java @@ -174,7 +174,7 @@ public class StyleUtilities stylesCollection.getStyle(styleFamily, styleParent); if (inherited != null) { - // OK, recurse (and hope that we dont run into an infinite loop) .. + // OK, recurse (and hope that we don't run into an infinite loop) .. copyStyle(styleFamily, styleParent, stylesCollection, commonCollection, predefCollection, inheritanceTracker); } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java index 3f3fe44e3476..469e5ef48268 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java @@ -346,7 +346,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget // derive section style .. // This is a rather cheap solution to the problem. In a sane world, we would have to feed the - // footer multiple times. Right now, we simply rely on the balacing, which should make sure that + // footer multiple times. Right now, we simply rely on the balancing, which should make sure that // the column's content are evenly distributed. final XmlWriter writer = getXmlWriter(); final AttributeList attrs = new AttributeList(); @@ -1014,7 +1014,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget } if (getCurrentRole() == ROLE_TEMPLATE || getCurrentRole() == ROLE_SPREADSHEET_PAGE_HEADER || getCurrentRole() == ROLE_SPREADSHEET_PAGE_FOOTER) { - // the template section would break the multi-column stuff and we dont open up sections there + // the template section would break the multi-column stuff and we don't open up sections there // anyway .. return; } @@ -1040,7 +1040,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget sectionHeight = new LengthCalculator(); if (role == OfficeDocumentReportTarget.ROLE_TEMPLATE || role == OfficeDocumentReportTarget.ROLE_SPREADSHEET_PAGE_HEADER || role == OfficeDocumentReportTarget.ROLE_SPREADSHEET_PAGE_FOOTER) { - // Start buffering with an dummy styles-collection, so that the global styles dont get polluted .. + // Start buffering with an dummy styles-collection, so that the global styles don't get polluted .. startBuffering(new OfficeStylesCollection(), true); } else if (role == OfficeDocumentReportTarget.ROLE_PAGE_HEADER) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java index 5a6356abdc8b..03cd8f9eef8b 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java @@ -69,7 +69,7 @@ public class FormattedTextReadHandler extends ElementReadHandler // * Print-When-Section-Overflows // That property cannot be evaluated yet, as this would require us to - // have a clue about pagebreaking. We dont have that - not yet and never + // have a clue about pagebreaking. We don't have that - not yet and never // in the future, as pagebreaks are computed by OpenOffice instead } -- cgit