summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-10-23 17:31:38 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2020-11-04 22:19:11 +0100
commit7808b624d16b0af5d8ae3897a6b2012ed4ee1076 (patch)
tree2cd31ae0b8dcf9340e6c3940bb29d22d3c3a8525 /svx/source/table
parent804c1b77f26bd36895c77586ba4fb43a8b84bec8 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: Id868397185ab487882a95a298e33a967df810a9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104737 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net> Tested-by: Jenkins
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/cell.cxx4
-rw-r--r--svx/source/table/tablecontroller.cxx2
-rw-r--r--svx/source/table/tablemodel.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 20b725491cf8..cc4e292ce60a 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -499,7 +499,7 @@ void Cell::cloneFrom( const CellRef& xCell )
{
if( xCell.is() )
{
- replaceContentAndFormating( xCell );
+ replaceContentAndFormatting( xCell );
mnCellContentType = xCell->mnCellContentType;
@@ -515,7 +515,7 @@ void Cell::cloneFrom( const CellRef& xCell )
notifyModified();
}
-void Cell::replaceContentAndFormating( const CellRef& xSourceCell )
+void Cell::replaceContentAndFormatting( const CellRef& xSourceCell )
{
if( !(xSourceCell.is() && mpProperties) )
return;
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 2dbd99266eac..c30f71201277 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -2830,7 +2830,7 @@ bool SvxTableController::PasteObject( SdrTableObj const * pPasteTableObj )
xTargetCell->AddUndo();
// Prevent cell span exceeding the pasting range.
if (nColumns < nTargetCol + xSourceCell->getColumnSpan())
- xTargetCell->replaceContentAndFormating(xSourceCell);
+ xTargetCell->replaceContentAndFormatting(xSourceCell);
else
xTargetCell->cloneFrom(xSourceCell);
diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx
index 3a50e8b1c194..d7d04191163c 100644
--- a/svx/source/table/tablemodel.cxx
+++ b/svx/source/table/tablemodel.cxx
@@ -743,7 +743,7 @@ void TableModel::removeColumns( sal_Int32 nIndex, sal_Int32 nCount )
if( bUndo )
xTargetCell->AddUndo();
xTargetCell->merge( nColSpan - nRemove, xCell->getRowSpan() );
- xTargetCell->replaceContentAndFormating( xCell );
+ xTargetCell->replaceContentAndFormatting( xCell );
}
}
}
@@ -901,7 +901,7 @@ void TableModel::removeRows( sal_Int32 nIndex, sal_Int32 nCount )
if( bUndo )
xTargetCell->AddUndo();
xTargetCell->merge( xCell->getColumnSpan(), nRowSpan - nRemove );
- xTargetCell->replaceContentAndFormating( xCell );
+ xTargetCell->replaceContentAndFormatting( xCell );
}
}
}