diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-01-03 09:54:53 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-01-03 10:07:52 +0100 |
commit | 9be165d3875ca5f85511f2ef42ec3627dee40a5e (patch) | |
tree | d9411690258fb1db1421e4d45abf45edee10dd2b | |
parent | 941372b694c0170cdadb2cb16447604011b295a1 (diff) |
Fix typos
Change-Id: I17b7881a28dc5b17d4051fe54cada2681e182873
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86159
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | vcl/inc/osx/salnativewidgets.h | 4 | ||||
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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. |