[Libreoffice-commits] core.git: reportbuilder/java vcl/inc

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 31 13:11:03 UTC 2019


 reportbuilder/java/org/libreoffice/report/InputRepository.java                                             |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java        |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java  |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java           |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java                   |    2 +-
 reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java                               |    4 ++--
 reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java                     |    4 ++--
 reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java                         |    2 +-
 vcl/inc/osx/salframeview.h                                                                                 |    2 +-
 vcl/inc/outdev.h                                                                                           |    2 +-
 vcl/inc/quartz/salgdicommon.hxx                                                                            |    2 +-
 vcl/inc/toolbox.h                                                                                          |    2 +-
 vcl/inc/unx/screensaverinhibitor.hxx                                                                       |    2 +-
 14 files changed, 16 insertions(+), 16 deletions(-)

New commits:
commit caa626809433b06b2a6f5eff80c6d0d2f4d71b7e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Jul 31 09:39:21 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Jul 31 15:10:24 2019 +0200

    Fix typos
    
    Change-Id: I2b9361433df39f66ec8328262a3128cf7294b6e1
    Reviewed-on: https://gerrit.libreoffice.org/76720
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/reportbuilder/java/org/libreoffice/report/InputRepository.java b/reportbuilder/java/org/libreoffice/report/InputRepository.java
index 0d89b2d7d8f5..1e26bfea7c56 100644
--- a/reportbuilder/java/org/libreoffice/report/InputRepository.java
+++ b/reportbuilder/java/org/libreoffice/report/InputRepository.java
@@ -54,7 +54,7 @@ public interface InputRepository
     InputRepository openInputRepository(final String name) throws IOException;
 
     /**
-     * This returns an version number for the given resource. Return zero, if
+     * This returns a version number for the given resource. Return zero, if
      * the resource is not versionable, else return a unique number for each version.
      * As rule of thumb: Increase the version number by at least one for each change
      * made to the resource.
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java
index 52ce34274de4..0bf40b9dcd28 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java
@@ -157,7 +157,7 @@ public class ImageElementLayoutController
             final Section columns = (Section) table.findFirstChild(OfficeNamespaces.TABLE_NS, OfficeToken.TABLE_COLUMNS);
             if (columns.getNodeCount() <= columnPos + colSpan)
             {
-                // the colspan is to large. The table definition is therefore invalid. We do not try to fix this.
+                // the colspan is too large. The table definition is therefore invalid. We do not try to fix this.
                 LOGGER.warn(
                         "The Table's defined columns do not match the col-span or col-position. Unable to calculate the image-size.");
                 return null;
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java
index 38cd53f13425..11a3693463a0 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController.java
@@ -34,7 +34,7 @@ import org.jfree.report.structure.Element;
 
 /**
  * This layoutcontroller simply checks, whether the parent layout controller
- * is a OfficeGroupLayoutController and whether this layout controller is
+ * is an OfficeGroupLayoutController and whether this layout controller is
  * processing the normal flow or an repeating section. If a repeating section
  * is being processed, an marker attribute is added to the element's call
  * to OutputProcessor.startElement() and OutputProcessor.endElement().
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java
index 2b095a47dfaa..9030a18ef887 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController.java
@@ -49,7 +49,7 @@ public class OfficeTableTemplateLayoutController extends SectionLayoutController
      * Initializes the layout controller. This method is called exactly once. It is the creators responsibility to call
      * this method.
      *
-     * <p>Calling initialize after the first advance must result in a IllegalStateException.</p>
+     * <p>Calling initialize after the first advance must result in an IllegalStateException.</p>
      *
      * @param node           the currently processed object or layout node.
      * @param flowController the current flow controller.
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java
index cc543197a77a..b61c640bf5e5 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java
@@ -43,7 +43,7 @@ import org.pentaho.reporting.libraries.base.util.ObjectUtilities;
 
 /**
  * Before writing the table cell, we have to evaluate the children of the cell. The cell itself can either be empty or it
- * has a one ore more paragraphs inside. The paragraph contains a single report element, but may contain additional
+ * has one ore more paragraphs inside. The paragraph contains a single report element, but may contain additional
  * other content.
  *
  * @since 05.03.2007
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
index 330a5e091aa0..a5c3be135a65 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
@@ -555,7 +555,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
                 }
                 case OfficeDocumentReportTarget.STATE_IN_CONTENT:
                 {
-                    // Either a ordinary section or a group ..
+                    // Either an ordinary section or a group ..
                     // A group.
                     if (ReportTargetUtil.isElementOfType(JFreeReportInfo.REPORT_NAMESPACE, "report-body", attrs))
                     {
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java
index b1f1a46f6bd0..2b204a4bf502 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java
@@ -118,7 +118,7 @@ public class StyleUtilities
                 predefCollection.getCommonStyles().getStyle(styleFamily, styleName);
         if (predefCommonStyle != null)
         {
-            // so we have an style from the predefined collection.
+            // so we have a style from the predefined collection.
             // copy it an add it to the current stylescollection
             final OfficeStyles commonStyles = commonCollection.getCommonStyles();
 
@@ -131,7 +131,7 @@ public class StyleUtilities
                 predefCollection.getAutomaticStyles().getStyle(styleFamily, styleName);
         if (predefAutoStyle != null)
         {
-            // so we have an style from the predefined collection.
+            // so we have a style from the predefined collection.
             // copy it an add it to the current stylescollection
             final OfficeStyles autoStyles = stylesCollection.getAutomaticStyles();
             copyStyleInternal(predefAutoStyle, autoStyles, stylesCollection,
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 96add59a59b6..ba06f8d39381 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
@@ -767,7 +767,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget
                     masterPageName = currentMasterPage.getStyleName();
                 }
                 // But we skip this (and therefore the resulting pagebreak) if there is no manual break
-                // and no other condition that would force an break.
+                // and no other condition that would force a break.
             }
             else if (currentRole == OfficeDocumentReportTarget.ROLE_REPEATING_GROUP_HEADER || currentRole == OfficeDocumentReportTarget.ROLE_REPEATING_GROUP_FOOTER)
             {
@@ -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 don't get polluted ..
+            // Start buffering with a 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/ImageReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java
index e285d8b18caf..86dd423d5040 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java
@@ -61,7 +61,7 @@ public class ImageReadHandler extends ElementReadHandler
         final String formula = attrs.getValue(OfficeNamespaces.OOREPORT_NS, "formula");
         if (formula != null && formula.length() != 0)
         {
-            // now, the evaulated content ends up in the 'content' attribute of the
+            // now, the evaluated content ends up in the 'content' attribute of the
             // element.
             final FormulaExpression valueExpression = new FormulaExpression();
             valueExpression.setFormula(formula);
diff --git a/vcl/inc/osx/salframeview.h b/vcl/inc/osx/salframeview.h
index d3f40111d103..36537f3db958 100644
--- a/vcl/inc/osx/salframeview.h
+++ b/vcl/inc/osx/salframeview.h
@@ -185,7 +185,7 @@ enum class SalEvent;
   actual mouse event initiating this drag operation.
   Mouse events can only be received by subclassing
   NSView and overriding methods like 'mouseDown' etc.
-  hence we implement a event hook here so that the
+  hence we implement an event hook here so that the
   D&D service can register as listener for mouse
   messages and use the last 'mouseDown' or
   'mouseDragged' message to initiate the drag
diff --git a/vcl/inc/outdev.h b/vcl/inc/outdev.h
index 7d5f471cd434..b72b04d4e566 100644
--- a/vcl/inc/outdev.h
+++ b/vcl/inc/outdev.h
@@ -36,7 +36,7 @@ class VirtualDevice;
 class PhysicalFontCollection;
 enum class AddFontSubstituteFlags;
 
-// an ImplDeviceFontList is created by an PhysicalFontCollection
+// an ImplDeviceFontList is created by a PhysicalFontCollection
 // it becomes invalid when original PhysicalFontCollection is modified
 class ImplDeviceFontList
 {
diff --git a/vcl/inc/quartz/salgdicommon.hxx b/vcl/inc/quartz/salgdicommon.hxx
index d199b3cc95ba..71c40acdfab6 100644
--- a/vcl/inc/quartz/salgdicommon.hxx
+++ b/vcl/inc/quartz/salgdicommon.hxx
@@ -33,7 +33,7 @@
 #include <tools/color.hxx>
 #include <vcl/salgtype.hxx>
 
-// abstracting quartz color instead of having to use an CGFloat[] array
+// abstracting quartz color instead of having to use a CGFloat[] array
 class RGBAColor
 {
 public:
diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h
index 1c9fb88d15a8..1b5dfa58905a 100644
--- a/vcl/inc/toolbox.h
+++ b/vcl/inc/toolbox.h
@@ -76,7 +76,7 @@ struct ImplToolItem
                                       const OUString& rTxt,
                                       ToolBoxItemBits nItemBits );
 
-    // returns the size of a item, taking toolbox orientation into account
+    // returns the size of an item, taking toolbox orientation into account
     // the default size is the precomputed size for standard items
     // ie those that are just ordinary buttons (no windows or text etc.)
     // bCheckMaxWidth indicates that item windows must not exceed maxWidth in which case they will be painted as buttons
diff --git a/vcl/inc/unx/screensaverinhibitor.hxx b/vcl/inc/unx/screensaverinhibitor.hxx
index fc85b187d22d..7100a8877399 100644
--- a/vcl/inc/unx/screensaverinhibitor.hxx
+++ b/vcl/inc/unx/screensaverinhibitor.hxx
@@ -45,7 +45,7 @@ private:
     // There are a bunch of different dbus based inhibition APIs. Some call
     // themselves ScreenSaver inhibition, some are PowerManagement inhibition,
     // but they appear to have the same effect. There doesn't appear to be one
-    // all encompassing standard, hence we should just try all of tem.
+    // all encompassing standard, hence we should just try all of them.
     //
     // The current APIs we have: (note: the list of supported environments is incomplete)
     // FDO: org.freedesktop.ScreenSaver::Inhibit - appears to be supported only by KDE?


More information about the Libreoffice-commits mailing list