summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/fntcap.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-05 10:42:23 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-05 10:50:11 +0200
commit1e18f94ff38124716de36315e7ba45de5bbb86e8 (patch)
treee733a93d86fb8c2918313801c8306fd70a587ae9 /sw/source/core/txtnode/fntcap.cxx
parentfc050948aee0768d49788fbcbcd878baadf5db32 (diff)
Fix typos
Change-Id: I63ab268d908477f8847b315f44f6ffd543b17794 Reviewed-on: https://gerrit.libreoffice.org/76969 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/txtnode/fntcap.cxx')
-rw-r--r--sw/source/core/txtnode/fntcap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index dc090742b0e2..dac54161c7d3 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -54,7 +54,7 @@ public:
// rOrigString: The original string
// nOfst: Position of the substring in rOrigString
// nLen: Length if the substring in rOrigString
-// nIdx: Referes to a position in the display string and should be mapped
+// nIdx: Refers to a position in the display string and should be mapped
// to a position in rOrigString
TextFrameIndex sw_CalcCaseMap(const SwFont& rFnt,
const OUString& rOrigString,
@@ -92,7 +92,7 @@ class SwDoCapitals
{
protected:
SwDrawTextInfo &rInf;
- SwCapitalInfo* pCapInf; // referes to additional information
+ SwCapitalInfo* pCapInf; // refers to additional information
// required by the ::Do function
explicit SwDoCapitals ( SwDrawTextInfo &rInfo ) : rInf( rInfo ), pCapInf( nullptr ) { }
~SwDoCapitals() {}