[Libreoffice-commits] core.git: drawinglayer/source include/svx offapi/com sw/inc sw/source
Andrea Gelmini
andrea.gelmini at gelma.net
Mon Aug 7 18:30:36 UTC 2017
drawinglayer/source/tools/emfpstringformat.cxx | 2 +-
include/svx/framelink.hxx | 4 ++--
offapi/com/sun/star/text/TimeDisplayFormat.idl | 4 ++--
sw/inc/strings.hrc | 2 +-
sw/source/uibase/uno/unotxdoc.cxx | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit c81d7eb7cd5ee6082a0252cec558c59d242b07ea
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Mon Aug 7 16:47:41 2017 +0200
Fix typos
Change-Id: I4969e9e66de602a8c79774460a0215ef9d150372
Reviewed-on: https://gerrit.libreoffice.org/40795
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/drawinglayer/source/tools/emfpstringformat.cxx b/drawinglayer/source/tools/emfpstringformat.cxx
index 3415365cbe0e..0f0958da5e1d 100644
--- a/drawinglayer/source/tools/emfpstringformat.cxx
+++ b/drawinglayer/source/tools/emfpstringformat.cxx
@@ -48,7 +48,7 @@ namespace emfplushelper
s.ReadUInt32(stringAlignment).ReadUInt32(lineAlign).ReadUInt32(digitSubstitution).ReadUInt32(digitLanguage);
s.ReadFloat(firstTabOffset).ReadInt32(hotkeyPrefix).ReadFloat(leadingMargin).ReadFloat(trailingMargin).ReadFloat(tracking);
s.ReadInt32(trimming).ReadInt32(tabStopCount).ReadInt32(rangeCount);
- // keep olny the last 16 Bits of language
+ // keep only the last 16 bits of language
language >>= 16;
digitLanguage >>= 16;
SAL_WARN_IF((header >> 12) != 0xdbc01, "cppcanvas.emf", "Invalid header - not 0xdbc01");
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx
index b0c11e2b5f8c..f79b5ed84301 100644
--- a/include/svx/framelink.hxx
+++ b/include/svx/framelink.hxx
@@ -298,7 +298,7 @@ SVX_DLLPUBLIC long GetTLDiagOffset( long nVerOffs, long nDiagOffs, double fAngle
frame borders). Of course this function can be used for vertical frame
borders as well.
- The follong picture shows the meaning of all passed parameters:
+ The following picture shows the meaning of all passed parameters:
\ rTFromT /
\ | /
@@ -354,7 +354,7 @@ SVX_DLLPUBLIC bool CheckFrameBorderConnectable(
border coming from top-right, connected to the left end of rBorder (and
therefore a diagonal frame border).
- The follong picture shows the meaning of all passed parameters:
+ The following picture shows the meaning of all passed parameters:
rLFromT / \ rRFromT
| / \ |
diff --git a/offapi/com/sun/star/text/TimeDisplayFormat.idl b/offapi/com/sun/star/text/TimeDisplayFormat.idl
index 986ed35421de..adbf16ea2818 100644
--- a/offapi/com/sun/star/text/TimeDisplayFormat.idl
+++ b/offapi/com/sun/star/text/TimeDisplayFormat.idl
@@ -24,8 +24,8 @@
module com { module sun { module star { module text {
-/** This constants define how a time field is formatted before it is displayed.
- The formate may also depend on the system or document locale.
+/** These constants define how a time field is formatted before it is displayed.
+ The format may also depend on the system or document locale.
@deprecated
*/
diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 2ecbf8eeb119..18b0dadd0c72 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -937,7 +937,7 @@
/*--------------------------------------------------------------------
Description: path name
--------------------------------------------------------------------*/
-// Formate FileName
+// Format FileName
#define FMT_FF_NAME NC_("FMT_FF_NAME", "File name")
#define FMT_FF_NAME_NOEXT NC_("FMT_FF_NAME_NOEXT", "File name without extension")
#define FMT_FF_PATHNAME NC_("FMT_FF_PATHNAME", "Path/File name")
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 29f8582365e4..7c4162a9a2f1 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3170,7 +3170,7 @@ void SwXTextDocument::setClientZoom(int nTilePixelWidth_, int /*nTilePixelHeight
{
// Here we set the zoom value as it has been set by the user in the client.
// This value is used in postMouseEvent and setGraphicSelection methods
- // for in place chart editing. We assume that x and y scale is rougly
+ // for in place chart editing. We assume that x and y scale is roughly
// the same.
// Indeed we could set mnTilePixelWidth, mnTilePixelHeight, mnTileTwipWidth,
// mnTileTwipHeight data members of this class but they are not very useful
More information about the Libreoffice-commits
mailing list