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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Fri Jan 3 09:08:27 UTC 2020


 vcl/inc/osx/salnativewidgets.h |    4 ++--
 vcl/osx/salnativewidgets.cxx   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 9be165d3875ca5f85511f2ef42ec3627dee40a5e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Jan 3 09:54:53 2020 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Jan 3 10:07:52 2020 +0100

    Fix typos
    
    Change-Id: I17b7881a28dc5b17d4051fe54cada2681e182873
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86159
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/inc/osx/salnativewidgets.h b/vcl/inc/osx/salnativewidgets.h
index 67d3a37612e7..3fdcdc40ca97 100644
--- a/vcl/inc/osx/salnativewidgets.h
+++ b/vcl/inc/osx/salnativewidgets.h
@@ -35,7 +35,7 @@
 #define RADIO_BUTTON_SMALL_SIZE 14     // width/height of small radio button without focus ring in pixels
 #define RADIO_BUTTON_TEXT_SEPARATOR 3  // space between radio button and following text in pixels
 
-#define CHECKBOX_SMALL_SIZE 14     // width/heiht of checkbox without focus ring in pixels
+#define CHECKBOX_SMALL_SIZE 14     // width/height of checkbox without focus ring in pixels
 #define CHECKBOX_TEXT_SEPARATOR 3  // space between checkbox and following text in pixels
 
 #define SLIDER_WIDTH 19   // width of slider in pixels
@@ -60,7 +60,7 @@
 #define SPIN_LOWER_BUTTON_HEIGHT 11  // height of lower spin button without focus ring in pixels
 
 // FIXME: spinboxes are positioned one pixel shifted to the right by VCL. As positioning as well as size should be equal to
-// corresponing editboxes, comboboxes or listboxes, positioning of spinboxes should by equal too. Issue cannot be fixed within
+// corresponding editboxes, comboboxes or listboxes, positioning of spinboxes should by equal too. Issue cannot be fixed within
 // native widget drawing code. As a workaround, an offset is considered for spinboxes to align spinboxes correctly.
 
 #define SPINBOX_OFFSET 1  // left offset for alignment with editboxes, comboboxes, and listboxes
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 5248251480c5..230735401993 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -41,7 +41,7 @@
 // AquaSalGraphics::getNativeControlRegion to determine native rectangle in pixels to draw the widget
 // AquaSalGraphics::drawNativeControl to do the drawing operation itself
 
-// getNativeControlRegion has to calculate a content rectangle within it is safe to draw the widget. Furthermore a boundig rectangle
+// getNativeControlRegion has to calculate a content rectangle within it is safe to draw the widget. Furthermore a bounding rectangle
 // has to be calculated by getNativeControlRegion to consider adornments like a focus rectangle. As drawNativeControl uses Carbon
 // API calls, all widgets are drawn without text. Drawing of text is done separately by VCL on top of graphical Carbon widget
 // representation. drawNativeControl is called by VCL using content rectangle determined by getNativeControlRegion.


More information about the Libreoffice-commits mailing list