summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-02-13 10:29:54 +0100
committerAleksandar Stefanović <theonewithideas@gmail.com>2017-02-13 09:37:18 +0000
commit417bc898802630c567d970d0283312697acdd5ff (patch)
tree00d1f7c1ebf59a6023531ef2c22371150b717dc1 /sw
parent529162307e9d6191fe43d50597504474b2c1a5ba (diff)
Fix typos
Change-Id: Iaf6bbe81f519d49b82f624282d786c8cc18d641c Reviewed-on: https://gerrit.libreoffice.org/34199 Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/AnnotationWin.hxx2
-rw-r--r--sw/qa/extras/ooxmlimport/ooxmlimport.cxx2
-rw-r--r--sw/source/core/draw/dcontact.cxx2
-rw-r--r--sw/source/core/inc/rowfrm.hxx2
-rw-r--r--sw/source/core/layout/tabfrm.cxx2
-rw-r--r--sw/source/filter/html/htmlctxt.cxx4
6 files changed, 7 insertions, 7 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index 6186576813f2..69e817c60d34 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -53,7 +53,7 @@ class SwAnnotationWin : public sw::sidebarwindows::SwSidebarWin
virtual sal_uInt32 MoveCaret() override;
- /// Calculate parent postit id of currrent annotation window
+ /// Calculate parent postit id of current annotation window
virtual sal_uInt32 CalcParent() override;
void InitAnswer(OutlinerParaObject* pText);
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 3797d900e2d3..28edf90f1e8c 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -1376,7 +1376,7 @@ DECLARE_OOXMLIMPORT_TEST(testTdf96218, "tdf96218.docx")
DECLARE_OOXMLIMPORT_TEST(testTdf101626, "tdf101626.docx")
{
- // Transform soft-hyphen to hard-hyphen as list bulletChar to avoid missing ymbols in export
+ // Transform soft-hyphen to hard-hyphen as list bulletChar to avoid missing symbols in export
uno::Reference<beans::XPropertySet> xPropertySet(getStyles("NumberingStyles")->getByName("WWNum1"), uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xLevels(xPropertySet->getPropertyValue("NumberingRules"), uno::UNO_QUERY);
uno::Sequence<beans::PropertyValue> aProps;
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index 66abcfc49dac..6d2c08ba0b51 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -1586,7 +1586,7 @@ void SwDrawContact::SwClientNotify(const SwModify& rMod, const SfxHint& rHint)
{
if(*pCreatePortionHint->m_ppContact)
return;
- *pCreatePortionHint->m_ppContact = this; // This is kind of rediculous: the FrameFormat doesnt even hold a pointer to the contact itself, but here we are leaking it out randomly
+ *pCreatePortionHint->m_ppContact = this; // This is kind of ridiculous: the FrameFormat doesnt even hold a pointer to the contact itself, but here we are leaking it out randomly
if(!GetAnchorFrame())
{
// No direct positioning needed any more
diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx
index 6bc9c22a13f0..1444630b0778 100644
--- a/sw/source/core/inc/rowfrm.hxx
+++ b/sw/source/core/inc/rowfrm.hxx
@@ -105,7 +105,7 @@ public:
// A row may only be split if the minimum height of the row frame
// fits into the vertical space left.
- // The minimum height is found as maxinum of two values: minimal
+ // The minimum height is found as maximum of two values: minimal
// contents of the row (e.g., height of first line of text, or an
// object, or lower table cell), and the minimum height setting.
// As the minimum height setting should not prevent the row to
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 0a501a40ae08..0c572dd7ebd2 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -4001,7 +4001,7 @@ static SwTwips lcl_calcHeightOfRowBeforeThisFrame(const SwRowFrame& rRow)
const SwTabFrame* pCurTab = pCurRow->FindTabFrame();
if (pCurTab->IsAnFollow(pTab))
{
- // The found row frame belongs to a table frame that preceedes
+ // The found row frame belongs to a table frame that precedes
// (above) this one in chain. So, include it in the sum
nResult += aRectFnSet.GetHeight(pCurRow->Frame());
}
diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx
index f86cafdc64df..f2de2fac4868 100644
--- a/sw/source/filter/html/htmlctxt.cxx
+++ b/sw/source/filter/html/htmlctxt.cxx
@@ -42,7 +42,7 @@ class HTMLAttrContext_SaveDoc
{
SwHTMLNumRuleInfo aNumRuleInfo; // Numbering for this environment
SwPosition *pPos; // Jump back to here when leaving context
- HTMLAttrTable *pAttrTab; // Valid attributes for the envionment,
+ HTMLAttrTable *pAttrTab; // Valid attributes for the environment,
// if attributes shouldn't be preserved
size_t nContextStMin; // Stack lower bound for the environment
@@ -401,7 +401,7 @@ bool SwHTMLParser::DoPositioning( SfxItemSet &rItemSet,
bool bRet = false;
// A border is opened on the following conditions
- // - the tag is absolute-positoned AND left/top are both known AND don't contain a % property
+ // - the tag is absolute-positioned AND left/top are both known AND don't contain a % property
// OR
// - the tag should be floating AND
// - there's a given width