summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 18:13:06 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 11:18:22 +0200
commitf9c57222e7f108ba68f3910a5c8f007476ce6552 (patch)
treec7301bacec42f5531e4252b722261b261cb30fa8 /vcl/osx
parent4dfce6d2b0f44d8aa55093302987da656a97da2c (diff)
Fix typos
Change-Id: Idb183e0ee9cccf0e4da16ff984ccf9b57eea0f9e Reviewed-on: https://gerrit.libreoffice.org/77273 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/DataFlavorMapping.hxx6
-rw-r--r--vcl/osx/a11yfactory.mm2
-rw-r--r--vcl/osx/a11ywrapper.mm4
-rw-r--r--vcl/osx/vclnsapp.mm2
4 files changed, 7 insertions, 7 deletions
diff --git a/vcl/osx/DataFlavorMapping.hxx b/vcl/osx/DataFlavorMapping.hxx
index d98d1895cc43..4720a7f73423 100644
--- a/vcl/osx/DataFlavorMapping.hxx
+++ b/vcl/osx/DataFlavorMapping.hxx
@@ -64,7 +64,7 @@ public:
/* Map a system data flavor to an OpenOffice data flavor.
Return an empty string if there is not suitable
- mapping from a system data flavor to a OpenOffice data
+ mapping from a system data flavor to an LibreOffice data
flavor.
*/
css::datatransfer::DataFlavor systemToOpenOfficeFlavor( const NSString* systemDataFlavor) const;
@@ -95,13 +95,13 @@ public:
*/
static DataProviderPtr_t getDataProvider( const NSString* systemFlavor, NSData* systemData);
- /* Translate a sequence of DataFlavors into a NSArray of system types.
+ /* Translate a sequence of DataFlavors into an NSArray of system types.
Only those DataFlavors for which a suitable mapping to a system
type exist will be contained in the returned types array.
*/
NSArray* flavorSequenceToTypesArray(const css::uno::Sequence<css::datatransfer::DataFlavor>& flavors) const;
- /* Translate a NSArray of system types into a sequence of DataFlavors.
+ /* Translate an NSArray of system types into a sequence of DataFlavors.
Only those types for which a suitable mapping to a DataFlavor
exist will be contained in the new DataFlavor Sequence.
*/
diff --git a/vcl/osx/a11yfactory.mm b/vcl/osx/a11yfactory.mm
index 6a173bbbf633..0a17f15dad8d 100644
--- a/vcl/osx/a11yfactory.mm
+++ b/vcl/osx/a11yfactory.mm
@@ -149,7 +149,7 @@ static bool enabled = false;
FIXME:
Unfortunately this can increase memory consumption drastically until the non transient parent
- is destroyed an finally all the transients are released.
+ is destroyed and finally all the transients are released.
*/
if ( ! rxAccessibleContext -> getAccessibleStateSet() -> contains ( AccessibleStateType::TRANSIENT ) )
#endif
diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm
index 555835021650..4b4ac43c4943 100644
--- a/vcl/osx/a11ywrapper.mm
+++ b/vcl/osx/a11ywrapper.mm
@@ -115,7 +115,7 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) {
FIXME:
Unfortunately this can increase memory consumption drastically until the non transient parent
- is destroyed an finally all the transients are released.
+ is destroyed and finally all the transients are released.
*/
if ( ! rxAccessibleContext -> getAccessibleStateSet() -> contains ( AccessibleStateType::TRANSIENT ) )
#endif
@@ -209,7 +209,7 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) {
/*
Radiobutton grouping is done differently in NSAccessibility and the UNO-API. In UNO related radio buttons share an entry in their
- RelationSet. In NSAccessibility the relationship is axpressed through the hierarchy. A AXRadioGroup contains two or more AXRadioButton
+ RelationSet. In NSAccessibility the relationship is expressed through the hierarchy. An AXRadioGroup contains two or more AXRadioButton
objects. Since this group is not available in the UNO hierarchy, an extra wrapper is used for it. This wrapper shares almost all
attributes with the first radio button of the group, except for the role, subrole, role description, parent and children attributes.
So in this five methods there is a special treatment for radio buttons and groups.
diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm
index 9effda6ff4c1..53d002a8aa46 100644
--- a/vcl/osx/vclnsapp.mm
+++ b/vcl/osx/vclnsapp.mm
@@ -286,7 +286,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
(void)app;
(void)printSettings;
(void)bShowPrintPanels;
- // currently ignores print settings an bShowPrintPanels
+ // currently ignores print settings a bShowPrintPanels
std::vector<OUString> aFileList;
NSEnumerator* it = [files objectEnumerator];