summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-04-05 21:44:12 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-04-05 21:49:04 +0200
commitcbb66e9ace2151d4386ce100aabc3a2b0c9d483e (patch)
treef475c78b1ae08894bef245c29aee89f886d080fe /include
parent0f1ca9e3c5d9df15e71171086612624baea9aaca (diff)
Fix typos
Change-Id: Iaf248ec769b82bdb22ac0620a1dc31ea90823d4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132535 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbxvar.hxx2
-rw-r--r--include/rtl/stringutils.hxx2
-rw-r--r--include/svx/diagram/datamodel.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index 01f5b650ebe0..0c5f84b60752 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -248,7 +248,7 @@ class BASIC_DLLPUBLIC SbxVariable : public SbxValue
StarBASIC* m_pComListenerParentBasic = nullptr;
std::unique_ptr<SfxBroadcaster> mpBroadcaster; // Broadcaster, if needed
OUString maName; // Name, if available
- mutable OUString maNameCI; // Name, case insentitive - cached for fast comparison
+ mutable OUString maNameCI; // Name, case insensitive - cached for fast comparison
SbxArrayRef mpPar; // Parameter-Array, if set
sal_uInt16 nHash = 0; // Hash-ID for search
diff --git a/include/rtl/stringutils.hxx b/include/rtl/stringutils.hxx
index be56408c52a8..58781973fab9 100644
--- a/include/rtl/stringutils.hxx
+++ b/include/rtl/stringutils.hxx
@@ -119,7 +119,7 @@ There are 2 cases:
with known size of the content). In this case ConstCharArrayDetector is used to ensure the function
is called only with const char[N] arguments. There's no other plain C string type overload.
(Note that OUStringChar is also covered by ConstCharArrayDetector's TypeUtf16 check, but
- provides a pointer to a string that is not NUL-termianted, unlike the char16_t const[N] arrays
+ provides a pointer to a string that is not NUL-terminated, unlike the char16_t const[N] arrays
normally covered by that check, and which are assumed to represent NUL-terminated string
literals.)
2) All plain C string types are wanted, and const char[N] needs to be handled differently.
diff --git a/include/svx/diagram/datamodel.hxx b/include/svx/diagram/datamodel.hxx
index a07962497b13..1ad52b060d9e 100644
--- a/include/svx/diagram/datamodel.hxx
+++ b/include/svx/diagram/datamodel.hxx
@@ -158,7 +158,7 @@ public:
typedef std::map< OUString, std::map<sal_Int32, SourceIdAndDepth > > StringMap;
protected:
- // Make constructor protected to signal that this anyways pure virual class
+ // Make constructor protected to signal that this anyways pure virtual class
// shall not be incarnated - target to use is oox::drawingml::DiagramData
DiagramData();