summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 13:48:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 18:23:53 +0100
commitc774ad610eb828742a3eea050e5a7571ba3b00be (patch)
tree5563215fe7b481f99efc96017d61ecd5c7a59072 /svx/source/table
parent24d0704fa468b300558a3f904ae853fcb7fca312 (diff)
loplugin:constantparam in svtools..unotools
Change-Id: I6e72fbe44dcb65ee5162448e9a72e6437d56b044 Reviewed-on: https://gerrit.libreoffice.org/50948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/cell.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index b5ba5ddbb8eb..922a58d0a4e9 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -382,7 +382,7 @@ namespace sdr { namespace table {
rtl::Reference< Cell > Cell::create( SdrTableObj& rTableObj )
{
- rtl::Reference< Cell > xCell( new Cell( rTableObj, nullptr ) );
+ rtl::Reference< Cell > xCell( new Cell( rTableObj ) );
if( xCell->mxTable.is() )
{
Reference< XEventListener > xListener( xCell.get() );
@@ -392,8 +392,8 @@ rtl::Reference< Cell > Cell::create( SdrTableObj& rTableObj )
}
-Cell::Cell( SdrTableObj& rTableObj, OutlinerParaObject* pOutlinerParaObject )
-: SdrText( rTableObj, pOutlinerParaObject )
+Cell::Cell( SdrTableObj& rTableObj )
+: SdrText( rTableObj, /*pOutlinerParaObject*/nullptr )
, SvxUnoTextBase( ImplGetSvxUnoOutlinerTextCursorSvxPropertySet() )
, mpPropSet( ImplGetSvxCellPropertySet() )
, mpProperties( new sdr::properties::CellProperties( rTableObj, this ) )