summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table/tablemgr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-25 23:03:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:22:07 +0000
commit1bf97d99e7529f1a69688522ac271636059a3391 (patch)
tree67629ba3d6d0c9fbe9916e7245461c3c2d7c79b2 /sw/source/uibase/table/tablemgr.cxx
parentb1225d201f8c23c75e31e09a0f5e9ff838866776 (diff)
loplugin:singlevalfields in sw(part1)
Change-Id: I0c6f545a8818da1f226c3958580abeeff0dc87b7 Reviewed-on: https://gerrit.libreoffice.org/26664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/table/tablemgr.cxx')
-rw-r--r--sw/source/uibase/table/tablemgr.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index a82738dce1db..e9fb41e674d5 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -168,18 +168,12 @@ void SwTableFUNC::InitTabCols()
SwTableFUNC::SwTableFUNC(SwWrtShell *pShell)
: pFormat(pShell->GetTableFormat()),
- pSh(pShell),
- bCopy(false)
+ pSh(pShell)
{
- // if applicable copy the format for edit
- if( pFormat && bCopy )
- pFormat = new SwFrameFormat( *pFormat );
}
SwTableFUNC::~SwTableFUNC()
{
- if(bCopy)
- delete pFormat;
}
void SwTableFUNC::UpdateChart()