summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-18 09:43:12 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-18 10:02:25 +0100
commit66d0e154dcf1fc1fe7b80dd4ac56fa90aa6cbe38 (patch)
tree64aa6077203a1dffd6684c9e2a9da8ba03385327 /sw/source
parent67ea8e1432f4ea86f2bc16d8479ef8cf10c74b80 (diff)
Fix typos
Change-Id: I7aa101a5e1e47118ab94527eb37269dd7e544cf4 Reviewed-on: https://gerrit.libreoffice.org/48093 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/draw/dflyobj.cxx2
-rw-r--r--sw/source/core/inc/rowfrm.hxx2
-rw-r--r--sw/source/core/text/txtfrm.cxx2
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx2
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
-rw-r--r--sw/source/ui/vba/vbaparagraphformat.cxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 607a8978bf1d..5153dd45e53f 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -1020,7 +1020,7 @@ void SwVirtFlyDrawObj::NbcResize(const Point& rRef, const Fraction& xFact, const
ResizeRect( aOutRect, rRef, xFact, yFact );
}
- // Position may also change, remember old one. This ois now already
+ // Position may also change, remember old one. This is now already
// the one in the unrotated, old coordinate system
Point aOldPos(bUseRightEdge ? GetFlyFrame()->getFrameArea().TopRight() : GetFlyFrame()->getFrameArea().Pos());
diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx
index 1444630b0778..9ff22cc0a125 100644
--- a/sw/source/core/inc/rowfrm.hxx
+++ b/sw/source/core/inc/rowfrm.hxx
@@ -113,7 +113,7 @@ public:
// should not consider the setting when the split is performed
// (we should be able to keep on first page as little as required).
// When IsInSplit is true, lcl_CalcMinRowHeight will ignore the
- // mininum height setting. It is set in lcl_RecalcSplitLine around
+ // minimum height setting. It is set in lcl_RecalcSplitLine around
// lcl_RecalcRow and SwRowFrame::Calc that decide if it's possible
// to keep part of row's content on first page, and update table's
// height to fit the rest of space.
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index b23817ad6f81..d06e3d595f9d 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -2167,7 +2167,7 @@ SwTwips SwTextFrame::CalcFitToContent()
SwTextFormatter aLine( this, &aInf );
SwHookOut aHook( aInf );
- // i#54031 - assure mininum of MINLAY twips.
+ // i#54031 - assure minimum of MINLAY twips.
const SwTwips nMax = std::max( SwTwips(MINLAY), aLine.CalcFitToContent_() + 1 );
{
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 5257679489ed..ccfc366f7843 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -1500,7 +1500,7 @@ void WW8Export::WriteHeadersFooters( sal_uInt8 nHeadFootFlags,
pSepx->OutHeaderFooter( *this, false, rFormat, nCpPos, nHeadFootFlags, WW8_FOOTER_ODD, nBreakCode );
//#i24344# Drawing objects cannot be directly shared between main hd/ft
- //and title hd/ft so we need to differenciate them
+ //and title hd/ft so we need to differentiate them
IncrementHdFtIndex();
pSepx->OutHeaderFooter( *this, true, rFirstPageFormat, nCpPos, nHeadFootFlags, WW8_HEADER_FIRST, nBreakCode );
pSepx->OutHeaderFooter( *this, false, rFirstPageFormat, nCpPos, nHeadFootFlags, WW8_FOOTER_FIRST, nBreakCode );
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index bd6f50c6fc93..1ec745d907ce 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2432,7 +2432,7 @@ void SwXMLTableContext::MakeTable_( SwTableBox *pBox )
sal_Int32 nExtraAbs =
nAbsForRelWidth > nMinAbs ? nAbsForRelWidth - nMinAbs : sal_Int32(0L);
- bool bMin = false; // Do all columns get the mininum width?
+ bool bMin = false; // Do all columns get the minimum width?
bool bMinExtra = false; // Do all columns get the minimum width plus
// some extra space?
diff --git a/sw/source/ui/vba/vbaparagraphformat.cxx b/sw/source/ui/vba/vbaparagraphformat.cxx
index dc8cdb200b9c..400488882b91 100644
--- a/sw/source/ui/vba/vbaparagraphformat.cxx
+++ b/sw/source/ui/vba/vbaparagraphformat.cxx
@@ -307,7 +307,7 @@ uno::Any SAL_CALL SwVbaParagraphFormat::getWidowControl()
sal_Int8 nOrphan = 0;
mxParaProps->getPropertyValue("ParaOrphans") >>= nOrphan;
// if the amount of single lines on one page > 1 and the same of start and end of the paragraph,
- // true is retured.
+ // true is returned.
bool bWidow = ( nWidow > 1 && nOrphan == nWidow );
return uno::makeAny( bWidow );
}