diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:08:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:01 +0200 |
commit | 6b95231a2c6f9ae6ec544f9281c4ddc6d665c9dc (patch) | |
tree | 0d04661abb20dde1eab177d587e704b15e3051cd /sw/source/ui/misc/srtdlg.cxx | |
parent | b1fba1afa1c1a5cf9074d2e9dd3e613ef0b318de (diff) |
Improved loplugin:cstylecast to reference types: sw
Change-Id: I7206d3325b4bfedb852d559b68dc1678da524b41
Diffstat (limited to 'sw/source/ui/misc/srtdlg.cxx')
-rw-r--r-- | sw/source/ui/misc/srtdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx index a6a2b11b3a50..b33fedc9f169 100644 --- a/sw/source/ui/misc/srtdlg.cxx +++ b/sw/source/ui/misc/srtdlg.cxx @@ -95,7 +95,7 @@ static bool lcl_GetSelTable( SwWrtShell &rSh, sal_uInt16& rX, sal_uInt16& rY ) ::GetTableSel( rSh, aSelBoxes ); FndPara aPara( aSelBoxes, &aFndBox ); const SwTable& rTable = pTableNd->GetTable(); - ForEach_FndLineCopyCol( (SwTableLines&)rTable.GetTabLines(), &aPara ); + ForEach_FndLineCopyCol( const_cast<SwTableLines&>(rTable.GetTabLines()), &aPara ); } rX = aFndBox.GetLines().size(); if( !rX ) |