summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-12-27 23:36:30 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-12-28 14:43:13 +0100
commit5877a3733c55d51f86edeb17c227fd89363154e4 (patch)
tree5d68a8b2424d74f4dba8b5842a09da665faeee3d
parent23a83639f5a06708074b13bc13ea4f6f819f55f0 (diff)
Fix typos
Change-Id: I0a8579406a70d2f63d96969c766e2a43d830ed6f Reviewed-on: https://gerrit.libreoffice.org/47114 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java2
-rw-r--r--include/rtl/ustring.h2
-rw-r--r--include/vcl/toolbox.hxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index 5f03fcaa795d..a77c30d3e533 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -69,7 +69,7 @@ public class LocalOfficeConnection
static
{
- // preload shared libraries whichs import lips are linked to officebean
+ // preload shared libraries which import lips are linked to officebean
if ( System.getProperty( "os.name" ).startsWith( "Windows" ) )
{
try
diff --git a/include/rtl/ustring.h b/include/rtl/ustring.h
index dfc099f93852..911cc033a721 100644
--- a/include/rtl/ustring.h
+++ b/include/rtl/ustring.h
@@ -161,7 +161,7 @@ SAL_DLLPUBLIC sal_Int32 SAL_CALL rtl_ustr_reverseCompare_WithLength(
/** Compare two strings from back to front for equality.
The comparison is based on the numeric value of each character in the
- strings and returns 'true' if, ans only if, both strings are equal.
+ strings and returns 'true' if, and only if, both strings are equal.
This function cannot be used for language-specific sorting.
@param first
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index f49bcae6fd9a..8a98542f8ba4 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -56,8 +56,8 @@ namespace o3tl
template<> struct typed_flags<ToolBoxMenuType> : is_typed_flags<ToolBoxMenuType, 0x0003> {};
}
-// small, large, size32 force an exact toolbox size for proper alignemnt
-// dontcare will let the toolbox decide about its size
+// small, large, size32 force an exact toolbox size for proper alignment
+// DontCare will let the toolbox decide about its size
enum class ToolBoxButtonSize
{
DontCare,