summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-05 23:39:23 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2018-07-18 12:49:03 +0200
commit563fe60878c2ad3289c5bdcd7d8647aea4280129 (patch)
tree24c6191c4986fa094a0945d5555bd36dc56922ac /svx
parent480ac84f2f5049fb4337b36f12fd6796e005761b (diff)
Fix typos
Change-Id: I5195d13b351c0eebad1eae901f7ce8408a9e5c92 Reviewed-on: https://gerrit.libreoffice.org/57028 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/tablecontroller.cxx12
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx4
2 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 8d83e471e15f..0b4378b7091c 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -2309,7 +2309,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co
{
// current cell is outside the selection
- if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner
+ if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Upper)
{
@@ -2322,7 +2322,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co
rNewFrame.SetLine( nullptr, SvxBoxItemLine::TOP );
}
}
- else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner
+ else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Before)
{
@@ -2395,7 +2395,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL
{
if (nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After|CellPosFlag::Upper|CellPosFlag::Lower))
{
- if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner
+ if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Upper)
{
@@ -2408,7 +2408,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL
ImplSetLinePreserveColor( rNewFrame, pBorderLineItem, SvxBoxItemLine::TOP );
}
}
- else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner
+ else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Before)
{
@@ -2941,14 +2941,14 @@ void lcl_MergeCommonBorderAttr(LinesState& rLinesState, const SvxBoxItem& rCellB
{
// current cell is outside the selection
- if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner
+ if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Upper)
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetBottom(), SvxBoxItemLine::TOP, SvxBoxInfoItemValidFlags::TOP);
else if (nCellPosFlags & CellPosFlag::Lower)
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetTop(), SvxBoxItemLine::BOTTOM, SvxBoxInfoItemValidFlags::BOTTOM);
}
- else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner
+ else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Before)
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetRight(), SvxBoxItemLine::LEFT, SvxBoxInfoItemValidFlags::LEFT);
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index ceb04a541aae..a6f134a6c693 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1865,7 +1865,7 @@ void SvxColorWindow::SelectEntry(const NamedColor& rNamedColor)
// try recently used
if (!bFoundColor)
bFoundColor = SelectValueSetEntry(mpRecentColorSet, rColor);
- // if its not there, add it there now to the end of the recently used
+ // if it's not there, add it there now to the end of the recently used
// so its available somewhere handy, but not without trashing the
// whole recently used
if (!bFoundColor)
@@ -1906,7 +1906,7 @@ void ColorWindow::SelectEntry(const NamedColor& rNamedColor)
// try recently used
if (!bFoundColor)
bFoundColor = SelectValueSetEntry(mxRecentColorSet.get(), rColor);
- // if its not there, add it there now to the end of the recently used
+ // if it's not there, add it there now to the end of the recently used
// so its available somewhere handy, but not without trashing the
// whole recently used
if (!bFoundColor)